Skip to content
Microbenchmark to compare different invocation options
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
gradle/wrapper
src/jmh/java
.gitignore
LICENSE
README.md
build.gradle
gradlew
gradlew.bat
settings.gradle

README.md

entity-lambda-accessors-benchmark

Microbenchmark to compare different method invocation options throughput and execution time. You should use Java 8 or higher.

We use four options:

  • Native invocation
  • Reflection API
  • Pure MethodHandles
  • LambdaMetafactory

We use caching to store method references in the entity.

To run the benchmark, just type gradlew jmh in project folder.

Results are generated to JSON file to /build/reports/jmh/result.json.

You can view results using this JMH viewer. Just upload report file to the site and chart will be generated for you.

You can’t perform that action at this time.