pixie/tests/benchmark_jpg.nim

7 lines
167 B
Nim
Raw Normal View History

2021-02-14 18:27:32 +00:00
import benchy, pixie/fileformats/jpg
2020-11-28 23:59:46 +00:00
2021-10-03 22:49:21 +00:00
let data = readFile("tests/fileformats/jpg/jpeg420exif.jpg")
2020-11-28 23:59:46 +00:00
timeIt "pixie decode":
2020-12-04 06:44:44 +00:00
discard decodeJpg(cast[seq[uint8]](data))