• Dave Cheney's avatar
    test/bench/go1: reduce fasta data size for linux/arm · 166dab69
    Dave Cheney authored
    As discussed on golang-dev, reduce the size of the fasta
    dataset to make it possible to run the go1 benchmarks on
    small ARM systems.
    
    Also, remove the 25m suffix from fasta data and Revcomp.
    
    linux/arm: pandaboard OMAP4
    
    BenchmarkBinaryTree17          1        70892426000 ns/op
    BenchmarkFannkuch11            1        35712066000 ns/op
    BenchmarkGobDecode            10         137146000 ns/op           5.60 MB/s
    BenchmarkGobEncode            50          64953000 ns/op          11.82 MB/s
    BenchmarkGzip          1        5675690000 ns/op           3.42 MB/s
    BenchmarkGunzip        1        1207001000 ns/op          16.08 MB/s
    BenchmarkJSONEncode            5         860424800 ns/op           2.26 MB/s
    BenchmarkJSONDecode            1        3321839000 ns/op           0.58 MB/s
    BenchmarkMandelbrot200        50          45893560 ns/op
    BenchmarkRevcomp              10         135220300 ns/op          18.80 MB/s
    BenchmarkTemplate              1        6385681000 ns/op           0.30 MB/s
    
    R=rsc, minux.ma, dsymonds
    CC=golang-dev
    https://golang.org/cl/6278048
    166dab69
fasta_test.go 3.65 KB