diff --git a/benchmarks/java/build.xml b/benchmarks/java/build.xml
deleted file mode 100644
index 9e88b83211..0000000000
--- a/benchmarks/java/build.xml
+++ /dev/null
@@ -1,105 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/build.xml b/build.xml
index 64b73c57f8..4acd0ba3f1 100644
--- a/build.xml
+++ b/build.xml
@@ -994,7 +994,6 @@
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/benchmarks/benchmark.sh b/tests/scripts/benchmark.sh
similarity index 68%
rename from benchmarks/benchmark.sh
rename to tests/scripts/benchmark.sh
index e27f33da7d..0ce278b5b3 100755
--- a/benchmarks/benchmark.sh
+++ b/tests/scripts/benchmark.sh
@@ -8,11 +8,11 @@ fi
if [ "x$BENCHMARKS" = 'x' ]
then
- BENCHMARKS="$CWD/benchmarks.jar"
+ BENCHMARKS="$CWD/i2p-benchmarks.jar"
stat "$BENCHMARKS" >/dev/null 2>&1
if [ "x$?" != 'x0' ]
then
- BENCHMARKS="$CWD/java/build/benchmarks.jar"
+ BENCHMARKS="$CWD/../../core/java/build/i2p-benchmarks.jar"
fi
fi
@@ -22,7 +22,7 @@ then
stat "$JBIGI" >/dev/null 2>&1
if [ "x$?" != 'x0' ]
then
- JBIGI="$CWD/../build/jbigi.jar"
+ JBIGI="$CWD/../../build/jbigi.jar"
fi
fi
@@ -33,4 +33,4 @@ then
shift
fi
-$JAVA -cp "$CLASSPATH" "$@"
+$JAVA -cp "$CLASSPATH" org.openjdk.jmh.Main "$@"