only benchmark render
This commit is contained in:
parent
ab63f2e2e3
commit
93cac626b3
1 changed files with 5 additions and 3 deletions
|
@ -1,6 +1,8 @@
|
|||
import benchy, pixie/fileformats/svg
|
||||
|
||||
let data = readFile("tests/fileformats/svg/Ghostscript_Tiger.svg")
|
||||
let
|
||||
data = readFile("tests/fileformats/svg/Ghostscript_Tiger.svg")
|
||||
parsed = parseSvg(data)
|
||||
|
||||
timeIt "svg parse + render":
|
||||
discard newImage(parseSvg(data))
|
||||
timeIt "svg render":
|
||||
discard newImage(parsed)
|
||||
|
|
Loading…
Reference in a new issue