spring-framework/gradle
Brian Clozel 67547e61c6 Add JMH benchmark infrastructure
Prior to this commit, the Spring Framework test suite would rely only on
"Performance" tests associated with a specific CI build. As outlined in
gh-24830, the way they're built and executed is not working well
anymore.

This commit introduces a new JMH benchmark infrastructure in the build.
The goal here is not to run those benchmarks as part of a CI build, but
rather provide a proper infrastructure for writing and locally running
micro-benchmarks when working on specific optimizations.

This commit adds and configures a Gradle JMH plugin to allow for JMH
benchmark classes in Spring Framework modules (in `src/jmh/java` of each
`spring-*` module). It's also relaxing the checkstyle rules for JMH
classes, especially around Javadoc rules: this code is not meant to
have Javadocs.

Finally, this commit links to a new Wiki page on the project GitHub
repository documenting the infrastructure and helping contributors to
run and design benchmarks.

See gh-24830
2020-05-13 21:29:02 +02:00
..
wrapper Upgrade to Gradle 6.4 2020-05-06 14:25:41 +02:00
custom-java-home.gradle Update documentation for custom-java-home.gradle 2020-03-18 17:10:16 +01:00
docs.gradle Only include PNG files in reference manual 2020-04-29 17:14:11 +02:00
ide.gradle Replace propdeps plugin with custom plugin 2019-08-13 18:19:37 +02:00
publications.gradle Remove artifactory plugin from build 2020-04-28 14:34:40 +02:00
spring-module.gradle Add JMH benchmark infrastructure 2020-05-13 21:29:02 +02:00