pixie/tests/benchmark_jpg.nim
2021-10-03 17:49:21 -05:00

7 lines
167 B
Nim

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