Skip to content

Commit

Permalink
v0.2.4
Browse files Browse the repository at this point in the history
  • Loading branch information
jgpc42 committed Dec 17, 2017
1 parent db970d7 commit bbe16c1
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 7 deletions.
9 changes: 7 additions & 2 deletions CHANGELOG.md
@@ -1,3 +1,7 @@
## 0.2.4 (2017-12-17)

* Upgrade jmh-clojure version to [0.2.0][jmh]

## 0.2.3 (2017-11-09)

* Upgrade jmh-clojure version to [0.1.7][jmh]
Expand All @@ -16,8 +20,9 @@

## 0.1.1 (2017-09-30)

* BUGFIX: [#1](https://github.com/jgpc42/lein-jmh/issues/1) `lein jmh` fails without task argument
* BUGFIX: [#1][issue1] `lein jmh` fails without task argument



[jmh]: https://github.com/jgpc42/jmh-clojure/blob/master/CHANGELOG.md
[issue1]: https://github.com/jgpc42/lein-jmh/issues/1
[jmh]: https://github.com/jgpc42/jmh-clojure/blob/master/CHANGELOG.md
8 changes: 5 additions & 3 deletions README.md
Expand Up @@ -3,14 +3,16 @@

### Adding to your project

Add `[lein-jmh "0.2.3"]` to your `:plugins` section. For example:
Add `[lein-jmh "0.2.4"]` to your `:plugins` section. For example:

```clojure
(defproject your-project "0.1.0-SNAPSHOT"
#_...
:plugins [[lein-jmh "0.2.3"]])
:plugins [[lein-jmh "0.2.4"]])
```

Clojure versions 1.7 through 1.9 are currently supported.

### What is it?

Leiningen plugin for running [jmh-clojure][jmh-clj] benchmarks.
Expand Down Expand Up @@ -48,7 +50,7 @@ Please see `lein help jmh` for more information on the available options.

### Tiered compilation

The JVM option `"-XX:TieredStopAtLevel=1"` is normally set automatically by Leiningen when running code in your project. This option speeds up JVM startup time but is normally problematic for benchmarking as it disables the [C2][c2] compiler.
The JVM option `-XX:TieredStopAtLevel=1` is normally set automatically by Leiningen when running code in your project. This option speeds up JVM startup time but is normally problematic for benchmarking as it disables the [C2][c2] compiler.

Since lein-jmh merges the `:jmh` profile automatically when running benchmarks, adding the following to your project's `:profiles` key should be sufficient for most users:

Expand Down
2 changes: 1 addition & 1 deletion project.clj
@@ -1,7 +1,7 @@
(def version
(-> "resources/version.edn" slurp read-string))

(defproject lein-jmh "0.2.4-SNAPSHOT"
(defproject lein-jmh "0.2.4"
:description "Run jmh-clojure benchmarks with Leiningen."
:url "https://github.com/jgpc42/lein-jmh"
:license {:name "Eclipse Public License"
Expand Down
2 changes: 1 addition & 1 deletion resources/version.edn
@@ -1 +1 @@
{:jmh-clojure "0.1.7"}
{:jmh-clojure "0.2.0"}

0 comments on commit bbe16c1

Please sign in to comment.