pixie/tests/benchmark_jpg.nim
Ryan Oldenburg f2b3c67d4b morepretty
2021-02-16 00:35:36 -06:00

6 lines
162 B
Nim

import benchy, pixie/fileformats/jpg
let data = readFile("tests/images/jpg/jpeg420exif.jpg")
timeIt "pixie decode":
discard decodeJpg(cast[seq[uint8]](data))