• Dmitriy Vyukov's avatar
    runtime: faster segmented stacks · 7847f328
    Dmitriy Vyukov authored
    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
    7847f328
malloc.goc 23.5 KB