• Dave Cheney's avatar
    runtime: add arm soft division and modulo benchmarks · d1537809
    Dave Cheney authored
    arm soft div and mod performance plays an important part
    in runtime performance.
    
    The currently implementation is very stable, but we believe
    we can best it. This benchmark provides a reference point.
    
    linux/arm omap4 pandaboard
    
    BenchmarkUint32Div7     10000000               298 ns/op
    BenchmarkUint32Div37    10000000               298 ns/op
    BenchmarkUint32Div123   10000000               298 ns/op
    BenchmarkUint32Div763   10000000               298 ns/op
    BenchmarkUint32Div1247  10000000               299 ns/op
    BenchmarkUint32Div9305  10000000               298 ns/op
    BenchmarkUint32Div13307 10000000               298 ns/op
    BenchmarkUint32Div52513 10000000               298 ns/op
    BenchmarkUint32Div60978747      10000000               298 ns/op
    BenchmarkUint32Div106956295     10000000               297 ns/op
    BenchmarkUint32Mod7     10000000               280 ns/op
    BenchmarkUint32Mod37    10000000               280 ns/op
    BenchmarkUint32Mod123   10000000               280 ns/op
    BenchmarkUint32Mod763   10000000               280 ns/op
    BenchmarkUint32Mod1247  10000000               280 ns/op
    BenchmarkUint32Mod9305  10000000               280 ns/op
    BenchmarkUint32Mod13307 10000000               280 ns/op
    BenchmarkUint32Mod52513 10000000               280 ns/op
    BenchmarkUint32Mod60978747      10000000               280 ns/op
    BenchmarkUint32Mod106956295     10000000               280 ns/op
    
    R=minux.ma, rsc
    CC=golang-dev
    https://golang.org/cl/6258067
    d1537809
Name
Last commit
Last update
api Loading commit data...
doc Loading commit data...
include Loading commit data...
lib Loading commit data...
misc Loading commit data...
src Loading commit data...
test Loading commit data...
.hgignore Loading commit data...
.hgtags Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README Loading commit data...
favicon.ico Loading commit data...
robots.txt Loading commit data...