fix benchmark template

Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
This commit is contained in:
Csaba Kiraly 2021-09-23 01:17:29 +02:00 committed by Dmitriy Ryajov
parent b44cb86800
commit 73f90c2dc5
No known key found for this signature in database
GPG Key ID: DA8C680CE7C657A4

View File

@ -1,4 +1,5 @@
import times, strutils
export strutils.formatFloat
template benchmark*(benchmarkName: string, code: untyped) =
let t0 = epochTime()