feat(#15): add benchmark tests

This commit is contained in:
Tomas Aparicio 2015-04-07 11:27:18 +02:00
parent 34dda8c57c
commit 8dc2dbf44f

View file

@ -157,3 +157,11 @@ func BenchmarkResizePng(b *testing.B) {
}
benchmarkResize("test.png", options, b)
}
func BenchmarkResizeWebP(b *testing.B) {
options := Options{
Width: 200,
Height: 200,
}
benchmarkResize("test.webp", options, b)
}