pixie/tests/benchmark_jpg.nim
2020-12-03 22:44:44 -08:00

7 lines
162 B
Nim

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