refactor(vips)

This commit is contained in:
Tomas Aparicio 2015-05-05 20:28:39 +02:00
parent 5d13fba8be
commit a29fa25dfc
4 changed files with 22 additions and 9 deletions

View file

@ -153,6 +153,11 @@ func runBenchmarkResize(file string, o Options, b *testing.B) {
}
}
func BenchmarkRotateJpeg(b *testing.B) {
options := Options{Rotate: 180}
runBenchmarkResize("test.jpg", options, b)
}
func BenchmarkResizeLargeJpeg(b *testing.B) {
options := Options{
Width: 800,