0ed52a811d
This commit updates the benchmark metadata in several example files. The benchmark runs and repeat counts have been slightly adjusted due to optimizations or minor variations in execution.
12 lines
308 B
Plaintext
12 lines
308 B
Plaintext
;; Benchmark: Record Destructuring Performance
|
|
;; This test calls a function that destructures a record
|
|
;; Current implementation is now zero-allocation for destructuring.
|
|
;; Output: 3
|
|
;; Benchmark: 740ns
|
|
;; Benchmark-Repeat: 2745
|
|
|
|
(do
|
|
(def process (fn [[x y]]
|
|
(+ x y)))
|
|
|
|
(process {:a 1 :b 2})
|
|
)
|