1
0
mirror of https://github.com/golang/go synced 2024-11-13 16:50:23 -07:00
go/src
Nigel Tao 8f84328fdc cmd/gc: inline convT2E when T is uintptr-shaped.
GOARCH=amd64 benchmarks

src/pkg/runtime
benchmark                  old ns/op    new ns/op    delta
BenchmarkConvT2ESmall             10           10   +1.00%
BenchmarkConvT2EUintptr            9            0  -92.07%
BenchmarkConvT2EBig               74           74   -0.27%
BenchmarkConvT2I                  27           26   -3.62%
BenchmarkConvI2E                   4            4   -7.05%
BenchmarkConvI2I                  20           19   -2.99%

test/bench/go1
benchmark                 old ns/op    new ns/op    delta
BenchmarkBinaryTree17    5930908000   5937260000   +0.11%
BenchmarkFannkuch11      3927057000   3933556000   +0.17%
BenchmarkGobDecode         21998090     21870620   -0.58%
BenchmarkGobEncode         12725310     12734480   +0.07%
BenchmarkGzip             567617600    567892800   +0.05%
BenchmarkGunzip           178284100    178706900   +0.24%
BenchmarkJSONEncode        87693550     86794300   -1.03%
BenchmarkJSONDecode       314212600    324115000   +3.15%
BenchmarkMandelbrot200      7016640      7073766   +0.81%
BenchmarkParse              7852100      7892085   +0.51%
BenchmarkRevcomp         1285663000   1286147000   +0.04%
BenchmarkTemplate         566823800    567606200   +0.14%

I'm not entirely sure why the JSON* numbers have changed, but
eyeballing the profile suggests that it could be spending less
and more time in runtime.{new,old}stack, so it could simply be
stack-split boundary noise.

R=rsc, dave, bsiegert, dsymonds
CC=golang-dev
https://golang.org/cl/6280049
2012-06-14 10:43:20 +10:00
..
cmd cmd/gc: inline convT2E when T is uintptr-shaped. 2012-06-14 10:43:20 +10:00
lib9 lib9: fix memory leak in p9getwd() 2012-06-05 01:31:23 +08:00
libbio
libmach cmd/5a, cmd/5l: add MULW{T,B} and MULAW{T,B} support for ARM 2012-06-08 02:42:28 +08:00
pkg cmd/gc: inline convT2E when T is uintptr-shaped. 2012-06-14 10:43:20 +10:00
all.bash build: restore PATH before "dist banner" 2012-06-06 20:19:16 +08:00
all.bat build: restore PATH before "dist banner" 2012-06-06 20:19:16 +08:00
all.rc build: dist-based build for Plan 9 2012-05-01 22:32:46 -07:00
clean.bash build: fix clean.bash 2012-02-15 23:52:07 +09:00
clean.bat build: implement clean.bat 2012-02-20 12:17:27 +11:00
clean.rc build: dist-based build for Plan 9 2012-05-01 22:32:46 -07:00
make.bash build: do more during windows build 2012-03-20 14:04:20 +11:00
make.bat build: do more during windows build 2012-03-20 14:04:20 +11:00
Make.dist cmd/dist: make 'make' quieter for developers 2012-02-08 15:26:47 -05:00
make.rc build: dist-based build for Plan 9 2012-05-01 22:32:46 -07:00
run.bash cmd/api: add api/next.txt 2012-05-22 18:41:20 -07:00
run.bat cmd/api: add api/next.txt 2012-05-22 18:41:20 -07:00
run.rc build: dist-based build for Plan 9 2012-05-01 22:32:46 -07:00
sudo.bash cmd/dist, sudo.bash: don't mention sudo.bash if cov or prof is not present 2012-04-02 22:33:38 +08:00