• Shenghou Ma's avatar
    runtime: ~3.7x speed up of div/mod on ARM · 3e3fa7b5
    Shenghou Ma authored
    benchmark                      old ns/op    new ns/op    delta
    BenchmarkUint32Div7                  281           75  -73.06%
    BenchmarkUint32Div37                 281           75  -73.02%
    BenchmarkUint32Div123                281           75  -73.02%
    BenchmarkUint32Div763                280           75  -72.89%
    BenchmarkUint32Div1247               280           75  -72.93%
    BenchmarkUint32Div9305               281           75  -73.02%
    BenchmarkUint32Div13307              281           75  -73.06%
    BenchmarkUint32Div52513              281           75  -72.99%
    BenchmarkUint32Div60978747           281           63  -77.33%
    BenchmarkUint32Div106956295          280           63  -77.21%
    BenchmarkUint32Mod7                  280           77  -72.21%
    BenchmarkUint32Mod37                 280           77  -72.18%
    BenchmarkUint32Mod123                280           77  -72.25%
    BenchmarkUint32Mod763                280           77  -72.18%
    BenchmarkUint32Mod1247               280           77  -72.21%
    BenchmarkUint32Mod9305               280           77  -72.21%
    BenchmarkUint32Mod13307              280           77  -72.25%
    BenchmarkUint32Mod52513              280           77  -72.18%
    BenchmarkUint32Mod60978747           280           63  -77.25%
    BenchmarkUint32Mod106956295          280           63  -77.21%
    
    R=dave, rsc
    CC=dave, golang-dev, rsc
    https://golang.org/cl/6717043
    3e3fa7b5
Name
Last commit
Last update
..
archive Loading commit data...
bufio Loading commit data...
builtin Loading commit data...
bytes Loading commit data...
compress Loading commit data...
container Loading commit data...
crypto Loading commit data...
database/sql Loading commit data...
debug Loading commit data...
encoding Loading commit data...
errors Loading commit data...
exp Loading commit data...
expvar Loading commit data...
flag Loading commit data...
fmt Loading commit data...
go Loading commit data...
hash Loading commit data...
html Loading commit data...
image Loading commit data...
index/suffixarray Loading commit data...
io Loading commit data...
log Loading commit data...
math Loading commit data...
mime Loading commit data...
net Loading commit data...
old/netchan Loading commit data...
os Loading commit data...
path Loading commit data...
reflect Loading commit data...
regexp Loading commit data...
runtime Loading commit data...
sort Loading commit data...
strconv Loading commit data...
strings Loading commit data...
sync Loading commit data...
syscall Loading commit data...
testing Loading commit data...
text Loading commit data...
time Loading commit data...
unicode Loading commit data...
unsafe Loading commit data...