Skip to content

gvsmirnov/jmh-gradle-sample

Repository files navigation

Sample Gradle Config for JMH Build Status

Performance tests, just like unit tests, should be kept apart from the real code. Here's a sample of how this can be done with gradle and JMH

A bit more detailed article can be found in my blog.

Usage:

$ gradle benchmarks

$ java -jar build/libs/jmh-gradle-sample-0.0.1-benchmarks.jar

UPDATE: There's now a specialized jmh plugin for gradle

About

A sample for JMH integration with gradle

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages