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.
21 lines
351 B
Plaintext
21 lines
351 B
Plaintext
;; Complex Data Structure Test
|
|
;; Benchmark: 53.6us
|
|
;; Benchmark-Repeat: 39
|
|
;; Output: {:name "Fibonacci", :input 10, :output 55}
|
|
(do
|
|
(def fib (fn [n]
|
|
(if (< n 2)
|
|
n
|
|
(+ (fib (- n 1)) (fib (- n 2))))))
|
|
|
|
(def result (fib 10))
|
|
|
|
(def data {
|
|
:name "Fibonacci"
|
|
:input 10
|
|
:output result
|
|
})
|
|
|
|
data
|
|
)
|