diff options
| author | Nigel Tao <nigeltao@golang.org> | 2012-09-13 15:47:12 +1000 |
|---|---|---|
| committer | Nigel Tao <nigeltao@golang.org> | 2012-09-13 15:47:12 +1000 |
| commit | 237ee3926906ad08a048e764920e036ecdb08b11 (patch) | |
| tree | 32f3982431d52260a3dc7041942447b7f1bfedf7 /src/cmd/nm/nm.c | |
| parent | e7d7ea21d4f0bcb9b90921f4a2d694657cbe4fff (diff) | |
| download | go-237ee3926906ad08a048e764920e036ecdb08b11.tar.xz | |
image/png: optimize encoding image.Gray and image.NRGBA images.
benchmark old ns/op new ns/op delta
BenchmarkEncodeGray 23616080 5624558 -76.18%
BenchmarkEncodeNRGBOpaque 34181260 17144380 -49.84%
BenchmarkEncodeNRGBA 41235820 20345990 -50.66%
BenchmarkEncodePaletted 5594652 5620362 +0.46%
BenchmarkEncodeRGBOpaque 17242210 17168820 -0.43%
BenchmarkEncodeRGBA 66515720 67243560 +1.09%
R=r
CC=golang-dev
https://golang.org/cl/6490099
Diffstat (limited to 'src/cmd/nm/nm.c')
0 files changed, 0 insertions, 0 deletions
