bytes: add assembly version of IndexByte for ARM
benchmark old ns/op new ns/op delta
BenchmarkIndexByte32 459 126 -72.55%
BenchmarkIndexByte4K 52404 10939 -79.13%
BenchmarkIndexByte4M 54470800 11177370 -79.48%
BenchmarkIndexByte64M 1010803000 178860500 -82.31%
benchmark old MB/s new MB/s speedup
BenchmarkIndexByte32 69.58 252.63
http://code.google.com/p/go/source/detail?r=b15b7aaca931
$ tail -200 < log
crypto/ecdsa
crypto/sha256
crypto/sha512
database/sql/driver
database/sql
debug/gosym
encoding/ascii85
encoding/base32
encoding/csv
encoding/hex
exp/ebnf
exp/ebnflint
exp/types
exp/gotype
exp/html
exp/norm
exp/proxy
exp/utf8string
exp/winfsnotify
hash/crc64
hash/fnv
image/color
image
image/draw
image/gif
image/jpeg
image/png
log/syslog
math/cmplx
net/http/cgi
net/http/fcgi
net/http/httptest
net/http/httputil
net/mail
net/rpc
net/rpc/jsonrpc
net/smtp
old/netchan
old/regexp
old/template
os/signal
os/user
runtime/cgo
testing
testing/iotest
testing/quick
# Testing packages.
ok cmd/api 0.047s
? cmd/cgo [no test files]
ok cmd/fix 1.486s
ok cmd/go 0.039s
? cmd/godoc [no test files]
ok cmd/gofmt 0.080s
? cmd/vet [no test files]
? cmd/yacc [no test files]
ok archive/tar 0.054s
ok archive/zip 0.086s
ok bufio 0.110s
ok bytes 0.057s
ok compress/bzip2 0.092s
ok compress/flate 0.184s
ok compress/gzip 0.034s
ok compress/lzw 0.046s
ok compress/zlib 0.153s
ok container/heap 0.025s
ok container/list 0.025s
ok container/ring 0.043s
? crypto [no test files]
ok crypto/aes 0.056s
ok crypto/cipher 0.033s
ok crypto/des 0.057s
ok crypto/dsa 0.038s
ok crypto/ecdsa 0.088s
ok crypto/elliptic 0.049s
ok crypto/hmac 0.028s
ok crypto/md5 0.028s
ok crypto/rand 0.048s
ok crypto/rc4 0.019s
ok crypto/rsa 0.154s
ok crypto/sha1 0.030s
ok crypto/sha256 0.020s
ok crypto/sha512 0.036s
ok crypto/subtle 0.033s
ok crypto/tls 0.156s
ok crypto/x509 0.641s
? crypto/x509/pkix [no test files]
ok database/sql 0.037s
ok database/sql/driver 0.025s
ok debug/dwarf 0.033s
ok debug/elf 0.034s
ok debug/gosym 0.028s
ok debug/macho 0.031s
ok debug/pe 0.028s
ok encoding/ascii85 0.026s
ok encoding/asn1 0.034s
ok encoding/base32 0.026s
ok encoding/base64 0.021s
ok encoding/binary 0.028s
ok encoding/csv 0.027s
ok encoding/gob 0.070s
ok encoding/hex 0.018s
ok encoding/json 0.083s
ok encoding/pem 0.028s
ok encoding/xml 0.051s
ok errors 0.026s
ok exp/ebnf 0.026s
ok exp/ebnflint 0.029s
ok exp/gotype 0.225s
ok exp/html 0.170s
ok exp/norm 1.468s
ok exp/proxy 0.030s
ok exp/types 0.035s
ok exp/utf8string 0.025s
ok exp/winfsnotify 0.079s
ok expvar 0.037s
ok flag 0.025s
ok fmt 0.071s
ok go/ast 0.032s
ok go/build 0.293s
ok go/doc 0.110s
ok go/parser 0.081s
ok go/printer 0.382s
ok go/scanner 0.028s
ok go/token 0.071s
? hash [no test files]
ok hash/adler32 0.026s
ok hash/crc32 0.024s
ok hash/crc64 0.055s
ok hash/fnv 0.028s
ok html 0.029s
ok html/template 0.085s
ok image 0.149s
ok image/color 0.039s
ok image/draw 0.066s
? image/gif [no test files]
ok image/jpeg 0.123s
ok image/png 0.090s
ok index/suffixarray 0.035s
ok io 0.042s
ok io/ioutil 0.027s
ok log 0.022s
? log/syslog [no test files]
ok math 0.023s
ok math/big 0.165s
ok math/cmplx 0.026s
ok math/rand 0.210s
ok mime 0.069s
ok mime/multipart 0.197s
ok net 0.871s
--- FAIL: TestServerExpect (0.02 seconds)
serve_test.go:691: ReadString: WSARecv tcp 127.0.0.1:64912: An existing
connection was forcibly closed by the remote host.
FAIL
FAIL net/http 7.597s
ok net/http/cgi 0.078s
ok net/http/fcgi 0.042s
ok net/http/httptest 0.040s
ok net/http/httputil 0.053s
? net/http/pprof [no test files]
ok net/mail 0.032s
ok net/rpc 0.087s
ok net/rpc/jsonrpc 0.050s
ok net/smtp 0.035s
ok net/textproto 0.030s
ok net/url 0.027s
ok old/netchan 0.044s
ok old/regexp 0.043s
ok old/template 0.051s
ok os 0.098s
ok os/exec 0.150s
ok os/signal 0.026s
ok os/user 22.591s
ok path 0.028s
ok path/filepath 0.039s
ok reflect 0.029s
ok regexp 0.121s
ok regexp/syntax 0.952s
ok runtime 1.538s
? runtime/cgo [no test files]
ok runtime/debug 0.029s
ok runtime/pprof 0.399s
ok sort 0.131s
ok strconv 0.627s
ok strings 0.030s
ok sync 0.079s
ok sync/atomic 0.038s
? syscall [no test files]
? testing [no test files]
? testing/iotest [no test files]
ok testing/quick 0.055s
ok text/scanner 0.028s
ok text/tabwriter 0.027s
ok text/template 0.054s
ok text/template/parse 0.030s
ok time 41.017s
ok unicode 0.027s
ok unicode/utf16 0.027s
ok unicode/utf8 0.028s
? unsafe [no test files]