Skip to content

cuba-rnd/entity-lambda-accessors-benchmark

Repository files navigation

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.

About

Microbenchmark to compare different invocation options

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages