Descriptioncmd/5g: copy MOVB peephole elimination from 5c
The original MOVB elimination code from 5g (commented out)
was too agressive.
The 5c version is less agressive, but results in
moderate improvements.
benchmark old ns/op new ns/op delta
BenchmarkBinaryTree17 52398590000 51876617000 -1.00%
BenchmarkFannkuch11 33195678000 33081147000 -0.35%
BenchmarkGobDecode 116363550 113923650 -2.10%
BenchmarkGobEncode 55769660 54918220 -1.53%
BenchmarkGzip 5464050000 5462128000 -0.04%
BenchmarkGunzip 1060395000 1058777000 -0.15%
BenchmarkJSONEncode 729699600 721032800 -1.19%
BenchmarkJSONDecode 1724457000 1702515000 -1.27%
BenchmarkMandelbrot200 45710440 45667740 -0.09%
BenchmarkParse 58709720 58497940 -0.36%
BenchmarkRevcomp 134762500 129064900 -4.23%
BenchmarkTemplate 1881347000 1831787000 -2.63%
benchmark old MB/s new MB/s speedup
BenchmarkGobDecode 6.60 6.74 1.02x
BenchmarkGobEncode 13.76 13.98 1.02x
BenchmarkGzip 3.55 3.55 1.00x
BenchmarkGunzip 18.30 18.33 1.00x
BenchmarkJSONEncode 2.66 2.69 1.01x
BenchmarkJSONDecode 1.13 1.14 1.01x
BenchmarkParse 0.99 0.99 1.00x
BenchmarkRevcomp 18.86 19.69 1.04x
BenchmarkTemplate 1.03 1.06 1.03x
Patch Set 1 #Patch Set 2 : diff -r 189cd011c4f3 https://code.google.com/p/go #Patch Set 3 : diff -r 189cd011c4f3 https://code.google.com/p/go #
Total comments: 2
MessagesTotal messages: 7
|