pixie/tests/benchmark_svg.nim
2022-06-10 14:46:55 -05:00

9 lines
182 B
Nim

import benchy, pixie/fileformats/svg
let
data = readFile("tests/fileformats/svg/Ghostscript_Tiger.svg")
parsed = parseSvg(data)
timeIt "svg render":
discard newImage(parsed)