forked from foogoof/crypto_O
-
Notifications
You must be signed in to change notification settings - Fork 0
/
perf.txt
57 lines (44 loc) · 2.06 KB
/
perf.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(use 'criterium.core)
(def zeros (int-array 16))
(java.util.Arrays/fill zeros (int 0))
(require '[crypto_O.aes-128 :as aes])
(with-progress-reporting (bench (aes/expand-key zeros) :verbose))
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; clojure 1.8
Evaluation count : 5580 in 60 samples of 93 calls.
Execution time sample mean : 10.715367 ms
Execution time mean : 10.715851 ms
Execution time sample std-deviation : 473.207767 µs
Execution time std-deviation : 481.788524 µs
Execution time lower quantile : 10.439083 ms ( 2.5%)
Execution time upper quantile : 11.955983 ms (97.5%)
Overhead used : 9.174515 ns
Found 11 outliers in 60 samples (18.3333 %)
low-severe 2 (3.3333 %)
low-mild 9 (15.0000 %)
Variance from outliers : 31.9019 % Variance is moderately inflated by outliers
;; clojure 1.9
Evaluation count : 5640 in 60 samples of 94 calls.
Execution time sample mean : 10.708085 ms
Execution time mean : 10.708410 ms
Execution time sample std-deviation : 59.679754 µs
Execution time std-deviation : 60.328829 µs
Execution time lower quantile : 10.627213 ms ( 2.5%)
Execution time upper quantile : 10.844804 ms (97.5%)
Overhead used : 9.164309 ns
Found 1 outliers in 60 samples (1.6667 %)
low-severe 1 (1.6667 %)
Variance from outliers : 1.6389 % Variance is slightly inflated by outliers
;; clojure 1.9 w/ ShortBuffer
Evaluation count : 6660 in 60 samples of 111 calls.
Execution time sample mean : 9.150638 ms
Execution time mean : 9.151202 ms
Execution time sample std-deviation : 59.047473 µs
Execution time std-deviation : 59.862739 µs
Execution time lower quantile : 9.069351 ms ( 2.5%)
Execution time upper quantile : 9.290812 ms (97.5%)
Overhead used : 9.173622 ns
Found 3 outliers in 60 samples (5.0000 %)
low-severe 3 (5.0000 %)
Variance from outliers : 1.6389 % Variance is slightly inflated by outliers