Skip to content

bonifaido/method-invocation-benchmark

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

JDK Method Invocation Benchmark

Invoking methods in Java is possible in a lot of ways, let's compare their execution times!

Benchmarks are made with jmh

Usage

Build and Run

  mvn clean package
  java -jar target/benchmark.jar

Or simply open the project in your favourite IDE (like IntelliJ) and run: org.openjdk.jmh.Main

Example Results

Check out how the standard reflection mechanism has improved between 1.7 and 1.8, see ReflectInvoker (earlier Caliper results):

About

Various method invocation benchmarks for Java

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages