restore benchmarks
This commit is contained in:
parent
5c2f602f4a
commit
b0a39912f5
|
@ -36,7 +36,7 @@ template benchmark(benchmarkName: string, blk: untyped) =
|
||||||
for i in 1..nn:
|
for i in 1..nn:
|
||||||
block:
|
block:
|
||||||
let t0 = epochTime()
|
let t0 = epochTime()
|
||||||
# `blk`
|
`blk`
|
||||||
let elapsed = epochTime() - t0
|
let elapsed = epochTime() - t0
|
||||||
vals.add elapsed
|
vals.add elapsed
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue