pixie/tests/benchmark_svg.nim

9 lines
182 B
Nim
Raw Normal View History

2021-02-14 18:27:32 +00:00
import benchy, pixie/fileformats/svg
2020-12-04 16:17:03 +00:00
2022-06-10 19:22:17 +00:00
let
data = readFile("tests/fileformats/svg/Ghostscript_Tiger.svg")
parsed = parseSvg(data)
2020-12-04 16:17:03 +00:00
2022-06-10 19:22:17 +00:00
timeIt "svg render":
discard newImage(parsed)