diff options
| author | Josh Bleecher Snyder <josharian@gmail.com> | 2016-04-19 12:26:28 -0700 |
|---|---|---|
| committer | Josh Bleecher Snyder <josharian@gmail.com> | 2016-04-19 20:56:00 +0000 |
| commit | 55ab07c224a358cabe795fb1e52a627194d7daee (patch) | |
| tree | cd587e969c6ac0f62c38f936f868493ba06f1b25 /src/runtime/malloc.go | |
| parent | 3c6e60c0e41ed42d5df6dcbf134e3a664c08c154 (diff) | |
| download | go-55ab07c224a358cabe795fb1e52a627194d7daee.tar.xz | |
cmd/compile: static composite literals are side-effect free
This extends CL 22192.
This removes the remaining performance disparity
between non-SSA and SSA on the AppendInPlace benchmarks.
Going from non-SSA to SSA:
AppendInPlace/NoGrow/2Ptr-8 1.60µs ± 5% 1.53µs ± 5% -4.04% (p=0.000 n=15+14)
AppendInPlace/NoGrow/3Ptr-8 2.04µs ± 3% 1.96µs ± 2% -3.90% (p=0.000 n=13+14)
AppendInPlace/NoGrow/4Ptr-8 2.83µs ± 8% 2.62µs ± 4% -7.39% (p=0.000 n=13+15)
Previously these were 20% regressions.
Change-Id: Ie87810bffd598730658e07585f5e2ef979a12b8f
Reviewed-on: https://go-review.googlesource.com/22248
Reviewed-by: Keith Randall <khr@golang.org>
Diffstat (limited to 'src/runtime/malloc.go')
0 files changed, 0 insertions, 0 deletions
