aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/runtime/proc.c
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2014-07-29 14:29:14 +1000
committerNigel Tao <nigeltao@golang.org>2014-07-29 14:29:14 +1000
commit0100afbdcc065ec20631d60cf7621d642f44b9d5 (patch)
treedc3e55d2bab0f11506ded9ab4d86558b6e099ca8 /src/pkg/runtime/proc.c
parentd3fb02b5c5850f53721d923be6770246aca7f69e (diff)
downloadgo-0100afbdcc065ec20631d60cf7621d642f44b9d5.tar.xz
image/png: use branch-free abs function
benchmark old ns/op new ns/op delta BenchmarkPaeth 5.06 6.02 +18.97% BenchmarkDecodeGray 1010551 956911 -5.31% BenchmarkDecodeNRGBAGradient 3877813 3754160 -3.19% BenchmarkDecodeNRGBAOpaque 3194058 3079094 -3.60% BenchmarkDecodePaletted 699243 700211 +0.14% BenchmarkDecodeRGB 2835733 2692120 -5.06% BenchmarkDecodeInterlacing 3651805 3563124 -2.43% BenchmarkEncodeGray 4399183 4404113 +0.11% BenchmarkEncodeNRGBOpaque 13323627 13306485 -0.13% BenchmarkEncodeNRGBA 15840092 15751188 -0.56% BenchmarkEncodePaletted 4396622 4404373 +0.18% BenchmarkEncodeRGBOpaque 13320475 13279189 -0.31% BenchmarkEncodeRGBA 36898392 36781002 -0.32% LGTM=nigeltao R=nigeltao CC=golang-codereviews https://golang.org/cl/117290043
Diffstat (limited to 'src/pkg/runtime/proc.c')
0 files changed, 0 insertions, 0 deletions