pixie/tests/benchmark_svg.nim

7 lines
145 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
let data = readFile("tests/images/svg/Ghostscript_Tiger.svg")
timeIt "svg decode":
2020-12-04 18:28:14 +00:00
keep decodeSvg(data)