Skip to content

Commit 4c920c0

Browse files
committed
Update bench
1 parent 8f3d708 commit 4c920c0

File tree

2 files changed

+21
-24
lines changed

2 files changed

+21
-24
lines changed

README.md

+19-23
Original file line numberDiff line numberDiff line change
@@ -536,35 +536,31 @@ $ clojure -M:bench --complete --sexpr "(let [x 1 y 2] (+ x y))" --quick
536536
BENCHMARKING EXPRESSION: (let [x 1 y 2] (+ x y))
537537
PARSE:
538538
-> (let [x 1 y 2] (+ x y))
539-
Evaluation count : 576270 in 6 samples of 96045 calls.
540-
Execution time mean : 1,204314 µs
541-
Execution time std-deviation : 211,629588 ns
542-
Execution time lower quantile : 1,042261 µs ( 2,5%)
543-
Execution time upper quantile : 1,538775 µs (97,5%)
544-
Overhead used : 6,374255 ns
539+
Evaluation count : 605268 in 6 samples of 100878 calls.
540+
Execution time mean : 1,105801 µs
541+
Execution time std-deviation : 209,640200 ns
542+
Execution time lower quantile : 934,602619 ns ( 2,5%)
543+
Execution time upper quantile : 1,459172 µs (97,5%)
544+
Overhead used : 8,140922 ns
545545
546546
Found 1 outliers in 6 samples (16,6667 %)
547547
low-severe 1 (16,6667 %)
548-
Variance from outliers : 47,8917 % Variance is moderately inflated by outliers
548+
Variance from outliers : 48,1886 % Variance is moderately inflated by outliers
549549
ANALYSIS:
550-
Evaluation count : 87864 in 6 samples of 14644 calls.
551-
Execution time mean : 7,868581 µs
552-
Execution time std-deviation : 1,365984 µs
553-
Execution time lower quantile : 6,835045 µs ( 2,5%)
554-
Execution time upper quantile : 9,602117 µs (97,5%)
555-
Overhead used : 6,374255 ns
550+
Evaluation count : 82248 in 6 samples of 13708 calls.
551+
Execution time mean : 8,562699 µs
552+
Execution time std-deviation : 1,289355 µs
553+
Execution time lower quantile : 7,557778 µs ( 2,5%)
554+
Execution time upper quantile : 10,039290 µs (97,5%)
555+
Overhead used : 8,140922 ns
556556
EVALUATION:
557557
-> 3
558-
Evaluation count : 576786 in 6 samples of 96131 calls.
559-
Execution time mean : 1,072887 µs
560-
Execution time std-deviation : 33,297260 ns
561-
Execution time lower quantile : 1,047914 µs ( 2,5%)
562-
Execution time upper quantile : 1,124463 µs (97,5%)
563-
Overhead used : 6,374255 ns
564-
565-
Found 1 outliers in 6 samples (16,6667 %)
566-
low-severe 1 (16,6667 %)
567-
Variance from outliers : 13,8889 % Variance is moderately inflated by outliers
558+
Evaluation count : 1607688 in 6 samples of 267948 calls.
559+
Execution time mean : 433,635072 ns
560+
Execution time std-deviation : 67,003007 ns
561+
Execution time lower quantile : 378,876890 ns ( 2,5%)
562+
Execution time upper quantile : 512,818448 ns (97,5%)
563+
Overhead used : 8,140922 ns
568564
```
569565
570566
Use `--parse`, `--evaluate` and/or `--analyze` to bench individual phases

deps.edn

+2-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@
2121
{:extra-deps {org.clojure/clojurescript {:mvn/version "1.10.520"}}
2222
:main-opts ["-m" "cljs.main" "-co" "min.js.edn" "-c"]}
2323
:bench
24-
{:extra-deps
24+
{:jvm-opts ["-Dclojure.compiler.direct-linking=true"]
25+
:extra-deps
2526
{org.clojure/tools.cli {:mvn/version "1.0.194"}
2627
criterium/criterium {:mvn/version "0.4.6"} }
2728
:extra-paths ["bench"]

0 commit comments

Comments
 (0)