This commit is contained in:
treeform 2021-11-28 16:11:18 -08:00
parent 2cb17d71e2
commit 59b6f6aaaf

View file

@ -1,8 +1,6 @@
import benchy, pixie/fileformats/svg, pixie/fileformats/png import benchy, pixie/fileformats/svg
let data = readFile("tests/fileformats/svg/Ghostscript_Tiger.svg") let data = readFile("tests/fileformats/svg/Ghostscript_Tiger.svg")
writeFile("tiger.png", decodeSvg(data).encodePng())
timeIt "svg decode": timeIt "svg decode":
discard decodeSvg(data) discard decodeSvg(data)