Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ $ mvn clean compile package
```

In the `target/` sub-directory, you will then find both a
`jni-benchmarks-1.0.0-SNAPSHOT-application` folder and a
`jni-benchmarks-1.0.0-SNAPSHOT-application.zip` file, you can use either of
`jni-benchmarks-1.0.1-SNAPSHOT-application` folder and a
`jni-benchmarks-1.0.1-SNAPSHOT-application.zip` file, you can use either of
these. They both contain bash scripts in their `bin/` sub-folders for Mac,
Linux, Unix and batch scripts for Windows. These scripts will run a single
iteration of the benchmark.
Expand Down
2 changes: 1 addition & 1 deletion array-benchmark-100.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ echo "AllocateInJavaGetArray,AllocateInJavaGetMutableArray,AllocateInJavaGet2DAr
for i in `seq 1 100`;
do
echo -en "\rArrayBenchmark run $i/100"
target/jni-construction-benchmark-1.0-SNAPSHOT-application/jni-construction-benchmark-1.0-SNAPSHOT/bin/benchmark --benchmark=ArrayBenchmark --csv --iterations=1000000 >> array-benchmark.csv
target/jni-benchmarks-1.0.1-SNAPSHOT-application/jni-benchmarks-1.0.1-SNAPSHOT/bin/benchmark.sh --benchmark=ArrayBenchmark --csv --iterations=1000000 >> array-benchmark.csv
done
4 changes: 2 additions & 2 deletions benchmark-100-with-close.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ echo "FooByCall,FooByCallStatic,FooByCallInvoke,FooByCallFinal,FooByCallStaticFi
for i in `seq 1 100`;
do
echo -en "\rCallBenchmark run $i/100"
target/jni-construction-benchmark-1.0-SNAPSHOT-application/jni-construction-benchmark-1.0-SNAPSHOT/bin/benchmark --csv --close --iterations=1000000 >> call-benchmark-with-close.csv
done
target/jni-benchmarks-1.0.1-SNAPSHOT-application/jni-benchmarks-1.0.1-SNAPSHOT/bin/benchmark.sh --csv --close --iterations=1000000 >> call-benchmark-with-close.csv
done
4 changes: 2 additions & 2 deletions benchmark-100.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ echo "FooByCall,FooByCallStatic,FooByCallInvoke,FooByCallFinal,FooByCallStaticFi
for i in `seq 1 100`;
do
echo -en "\rCallBenchmark run $i/100"
target/jni-construction-benchmark-1.0-SNAPSHOT-application/jni-construction-benchmark-1.0-SNAPSHOT/bin/benchmark --benchmark=CallBenchmark --csv --iterations=1000000 >> call-benchmark.csv
done
target/jni-benchmarks-1.0.1-SNAPSHOT-application/jni-benchmarks-1.0.1-SNAPSHOT/bin/benchmark.sh --benchmark=CallBenchmark --csv --iterations=1000000 >> call-benchmark.csv
done