]> Cypherpunks repositories - gostls13.git/commit
runtime: faster segmented stacks
authorDmitriy Vyukov <dvyukov@google.com>
Thu, 10 Jan 2013 07:36:40 +0000 (11:36 +0400)
committerDmitriy Vyukov <dvyukov@google.com>
Thu, 10 Jan 2013 07:36:40 +0000 (11:36 +0400)
commit7847f328cd583231fc6bed6e7ddf7704b204d813
treec4090d918a5bd7440dd78c87d3a226a93037ac3f
parentf82db7d9e4ccf04b19a087561ab0f521fc36e5b1
runtime: faster segmented stacks
benchmark                      old ns/op    new ns/op    delta
BenchmarkStackGrowth                 665          548  -17.59%
BenchmarkStackGrowth-2               333          274  -17.72%
BenchmarkStackGrowth-4               224          168  -25.00%
BenchmarkStackGrowth-8               124           91  -26.21%
BenchmarkStackGrowth-16               82           70  -14.55%
BenchmarkStackGrowth-32               73           59  -19.49%

R=nigeltao, minux.ma, rsc
CC=golang-dev
https://golang.org/cl/7026044
src/pkg/runtime/malloc.goc
src/pkg/runtime/proc.c