• Keith Randall's avatar
    runtime: use duff zero and copy to initialize memory · 51b72d94
    Keith Randall authored
    benchmark                 old ns/op     new ns/op     delta
    BenchmarkCopyFat512       1307          329           -74.83%
    BenchmarkCopyFat256       666           169           -74.62%
    BenchmarkCopyFat1024      2617          671           -74.36%
    BenchmarkCopyFat128       343           89.0          -74.05%
    BenchmarkCopyFat64        182           48.9          -73.13%
    BenchmarkCopyFat32        103           28.8          -72.04%
    BenchmarkClearFat128      102           46.6          -54.31%
    BenchmarkClearFat512      344           167           -51.45%
    BenchmarkClearFat64       50.5          26.5          -47.52%
    BenchmarkClearFat256      147           87.2          -40.68%
    BenchmarkClearFat32       22.7          16.4          -27.75%
    BenchmarkClearFat1024     511           662           +29.55%
    
    Fixes #7624
    
    LGTM=rsc
    R=golang-codereviews, khr, bradfitz, josharian, dave, rsc
    CC=golang-codereviews
    https://golang.org/cl/92760044
    51b72d94
Name
Last commit
Last update
..
Makefile Loading commit data...
asm5.c Loading commit data...
asm6.c Loading commit data...
asm8.c Loading commit data...
data.c Loading commit data...
go.c Loading commit data...
ld.c Loading commit data...
list5.c Loading commit data...
list6.c Loading commit data...
list8.c Loading commit data...
obj.c Loading commit data...
obj5.c Loading commit data...
obj6.c Loading commit data...
obj8.c Loading commit data...
objfile.c Loading commit data...
pass.c Loading commit data...
pcln.c Loading commit data...
sym.c Loading commit data...