mirror of
https://github.com/talgo-cloud/bimg.git
synced 2026-03-09 07:28:44 -07:00
refactor(vips)
This commit is contained in:
parent
5d13fba8be
commit
a29fa25dfc
4 changed files with 22 additions and 9 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue