image/gif: speed up initializing test image
The benchmark throughput numbers don't change, but the set-up time (the time taken before the b.ResetTimer() call) drops from 460ms to 4ms. Change-Id: I5a6756643dff6127f6d902455d83459c084834fc Reviewed-on: https://go-review.googlesource.com/c/go/+/237757 Reviewed-by:Rob Pike <r@golang.org> Run-TryBot: Rob Pike <r@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
Loading
Please sign in to comment