melix / jmh-gradle-plugin

Integrates the JMH benchmarking framework with Gradle
Apache License 2.0
666 stars 88 forks source link

Reduce the impact of realizing tasks when using the JMH plugin #136

Closed big-guy closed 5 years ago

big-guy commented 6 years ago

tasks.whenTaskAdded forces all tasks to be realized like tasks.all

This change is backwards compatible with older Gradle releases

big-guy commented 6 years ago

@melix ping me if you have any questions. I noticed the JMH plugin was a big contributor to tasks being realized in the gradle/gradle build and I think it's because of this.

coveralls commented 6 years ago

Coverage Status

Coverage decreased (-0.1%) to 34.483% when pulling 2ad472628df4557a5f6c74c0d77f857794d5e4ec on big-guy:sg/lazy/jmh into dc4eef6abfd18440312fde0953d5d0f2ed0c4c5b on melix:master.