<commit_before>= JMH Gradle Plugin
:jmh-version: 1.21
:plugin-version: 0.4.6

image:http://img.shields.io/travis/melix/jmh-gradle-plugin/master.svg["Build Status (travis)", link="https://travis-ci.org/melix/jmh-gradle-plugin"]
image:http://img.shields.io/coveralls/melix/jmh-gradle-plugin/master.svg["Coverage Status (coveralls)", link="https://coveralls.io/r/melix/jmh-gradle-plugin"]
image:https://api.bintray.com/packages/melix/gradle-plugins/jmh-gradle-plugin/images/download.svg[Download, link="https://bintray.com/melix/gradle-plugins/jmh-gradle-plugin"]
image:http://img.shields.io/badge/license-ASF2-blue.svg["Apache License 2", link="http://www.apache.org/licenses/LICENSE-2.0.txt"]

This plugin integrates the http://openjdk.java.net/projects/code-tools/jmh/[JMH micro-benchmarking framework] with Gradle.

== Usage

Build script snippet for use in all Gradle versions:
[source,groovy]
[subs="attributes"]
.build.gradle
----
buildscript {
  repositories {
    jcenter()
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "me.champeau.gradle:jmh-gradle-plugin:{plugin-version}"
  }
}

apply plugin: "me.champeau.gradle.jmh"
----

Build script snippet for new, incubating, plugin mechanism introduced in Gradle 2.1:
[source,groovy]
[subs="attributes"]
.build.gradle
----
plugins {
  id "me.champeau.gradle.jmh" version "{plugin-version}"
}
----

== What plugin version to use?

[options="header"]
|===
|Gradle|Minimal plugin version
|4.8|0.4.5
|4.7|0.4.5
|4.6|0.4.5
|4.5|0.4.5
|4.4|0.4.5<commit_msg>Update README after release 0.4.7<commit_after>= JMH Gradle Plugin
:jmh-version: 1.21
:plugin-version: 0.4.7

image:http://img.shields.io/travis/melix/jmh-gradle-plugin/master.svg["Build Status (travis)", link="https://travis-ci.org/melix/jmh-gradle-plugin"]
image:http://img.shields.io/coveralls/melix/jmh-gradle-plugin/master.svg["Coverage Status (coveralls)", link="https://coveralls.io/r/melix/jmh-gradle-plugin"]
image:https://api.bintray.com/packages/melix/gradle-plugins/jmh-gradle-plugin/images/download.svg[Download, link="https://bintray.com/melix/gradle-plugins/jmh-gradle-plugin"]
image:http://img.shields.io/badge/license-ASF2-blue.svg["Apache License 2", link="http://www.apache.org/licenses/LICENSE-2.0.txt"]

This plugin integrates the http://openjdk.java.net/projects/code-tools/jmh/[JMH micro-benchmarking framework] with Gradle.

== Usage

Build script snippet for use in all Gradle versions:
[source,groovy]
[subs="attributes"]
.build.gradle
----
buildscript {
  repositories {
    jcenter()
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "me.champeau.gradle:jmh-gradle-plugin:{plugin-version}"
  }
}

apply plugin: "me.champeau.gradle.jmh"
----

Build script snippet for new, incubating, plugin mechanism introduced in Gradle 2.1:
[source,groovy]
[subs="attributes"]
.build.gradle
----
plugins {
  id "me.champeau.gradle.jmh" version "{plugin-version}"
}
----

== What plugin version to use?

[options="header"]
|===
|Gradle|Minimal plugin version
|4.9|0.4.7 (to benefit from lazy tasks API)
|4.8|0.4.5
|4.7|0.4.5
|4.6|0.4.5
|4.5|0.4.5
|4.4|0.4.5
{'fraction_non_alphanumeric': 0.18087121212121213, 'fraction_numerical': 0.026515151515151516, 'mean_word_length': 4.220757825370676, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 10, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1586391', 'n_tokens_mistral': 1290, 'n_tokens_neox': 1198, 'n_words': 190}