Java microbenchmarks sandbox.
Package | Description | To run |
---|---|---|
collections |
Collections benchmark. | mvn verify -Dbenchmarks='*.collections.*' |
iterators |
Fastest way to iterate array benchmark. | mvn verify -Dbenchmarks='*.iterators.*' |
lambdas |
Lambdas vs anonymous classes benchmark. | mvn verify -Dbenchmarks='*.lambdas.*' |
math |
java.lang.Math benchmark. |
mvn verify -Dbenchmarks='*.math.*' |
See notes in each package-info.java
.
Results go to target/microbenchmarks.csv
.