Skip to content

Commit

Permalink
feat(#15): add benchmark tests
Browse files Browse the repository at this point in the history
  • Loading branch information
h2non committed Apr 7, 2015
1 parent 34dda8c commit 8dc2dbf
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions resize_test.go
Expand Up @@ -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)
}

0 comments on commit 8dc2dbf

Please sign in to comment.