feat(#15): add benchmark tests

master
Tomas Aparicio 11 years ago
parent 34dda8c57c
commit 8dc2dbf44f

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

Loading…
Cancel
Save