This commit is contained in:
Ryan Oldenburg 2022-05-12 18:06:27 -05:00
parent 01de5d536b
commit 9a94687488

View file

@ -1,6 +1,6 @@
import benchy, jpegsuite, pixie/fileformats/jpg
import benchy, jpegsuite, pixie/fileformats/jpg, strformat
for file in jpegSuiteFiles:
let data = readFile(file)
timeIt "jpeg " & $(len(data) div 1024) & "k decode":
timeIt &"jpeg {(data.len div 1024)}k decode", 10000:
discard decodeJpg(data)