MP
Size: a a a
MP
MP
IG
OR
A
ST
MB
(defn foo [{:keys [a]}] a)
(defn bar [x] (:a x))
ST
(defn foo [{:keys [a]}] a)
(defn bar [x] (:a x))
MB
ST
(defn foo [{:keys [a]}] a)
(defn bar [x] (:a x))
(criterium.core/quick-bench
(foo {}))
Evaluation count : 17086992 in 6 samples of 2847832 calls.
Execution time mean : 33,734320 ns
Execution time std-deviation : 0,541457 ns
Execution time lower quantile : 33,414796 ns ( 2,5%)
Execution time upper quantile : 34,634114 ns (97,5%)
Overhead used : 1,808595 ns
Found 1 outliers in 6 samples (16,6667 %)
low-severe 1 (16,6667 %)
Variance from outliers : 13,8889 % Variance is moderately inflated by outliers
=> nil
(criterium.core/quick-bench
(bar {}))
Evaluation count : 71926746 in 6 samples of 11987791 calls.
Execution time mean : 6,568671 ns
Execution time std-deviation : 0,021448 ns
Execution time lower quantile : 6,544170 ns ( 2,5%)
Execution time upper quantile : 6,599845 ns (97,5%)
Overhead used : 1,808595 ns
=> nil
ST
MB
A
ST
MB
ИФ
ST
(defn bar [x] (x :a))
ST
(< a b)
и (< a b с)
A