Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Update to criterium 0.4.2

  • Loading branch information...
commit 20356ce8d16b5e2653864334c22e0bb22ed67479 1 parent d9378f7
@jafingerhut authored
Showing with 5 additions and 5 deletions.
  1. +2 −2 cljexprs/project.clj
  2. +3 −3 cljexprs/src/cljexprs/core.clj
View
4 cljexprs/project.clj
@@ -4,6 +4,6 @@
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[org.clojure/clojure "1.3.0"]
- [criterium "0.3.0"]]
- :jvm-opts ["-Xmx1024m"] ; several benchmarks take significant memory
+ [criterium "0.4.2"]]
+ :jvm-opts ^:replace ["-Xmx1024m"] ; several benchmarks take significant memory
:main cljexprs.core)
View
6 cljexprs/src/cljexprs/core.clj
@@ -105,9 +105,9 @@
(let [results#
;; (criterium/with-progress-reporting
(criterium/benchmark ~expr ~@opts
- :samples *sample-count*
- :warmup-jit-period *warmup-jit-period*
- :target-execution-time *target-execution-time*)
+ {:samples *sample-count*
+ :warmup-jit-period *warmup-jit-period*
+ :target-execution-time *target-execution-time*})
;; (criterium/quick-benchmark ~expr ~@opts)
;; )
]
Please sign in to comment.
Something went wrong with that request. Please try again.