FAQ
Change 3bf9ffdcca1f broke the netbsd-386-minux build:
http://build.golang.org/log/0cd8985beb59336d9b194b9fffdf8fa76ffdabc1

regexp: use a very fast random generator for benchmarks.

Calls into math/rand are very slow, especially under race
detector because of heap accesses.

go test -bench . -run none -benchtime .1s
Before: 23.0s
After: 17.4s

Fixes issue 5837.

R=golang-dev, dave, r
CC=golang-dev
https://codereview.appspot.com/11564044

http://code.google.com/p/go/source/detail?r=3bf9ffdcca1f

$ tail -200 < log
mime/multipart
net/http
os/signal
cmd/go
archive/zip
encoding/gob
expvar
html
index/suffixarray
html/template
runtime/pprof
net/http/pprof
text/scanner
cmd/godoc
cmd/gofmt
cmd/yacc
archive/tar
compress/bzip2
compress/lzw
hash/adler32
compress/zlib
container/list
container/ring
crypto/sha512
database/sql/driver
database/sql
debug/gosym
encoding/ascii85
encoding/base32
encoding/csv
hash/crc64
hash/fnv
image/color
image
image/draw
image/gif
image/jpeg
image/png
log/syslog
math/cmplx
net/http/cgi
net/http/cookiejar
net/http/fcgi
net/http/httptest
net/http/httputil
net/mail
net/rpc
net/rpc/jsonrpc
net/smtp
os/user
runtime/debug
runtime/race
testing
testing/iotest
testing/quick

# Testing packages.
ok cmd/api 0.005s
? cmd/cgo [no test files]
ok cmd/fix 0.009s
ok cmd/go 0.363s
? cmd/godoc [no test files]
ok cmd/gofmt 0.076s
? cmd/yacc [no test files]
ok archive/tar 0.063s
ok archive/zip 0.025s
ok bufio 0.285s
ok bytes 0.180s
ok compress/bzip2 0.089s
ok compress/flate 0.525s
ok compress/gzip 0.064s
ok compress/lzw 0.068s
ok compress/zlib 0.858s
ok container/heap 0.061s
ok container/list 0.002s
ok container/ring 0.008s
? crypto [no test files]
ok crypto/aes 0.022s
ok crypto/cipher 0.062s
ok crypto/des 0.024s
ok crypto/dsa 0.067s
ok crypto/ecdsa 0.024s
ok crypto/elliptic 0.044s
ok crypto/hmac 0.062s
ok crypto/md5 0.059s
ok crypto/rand 0.011s
ok crypto/rc4 0.038s
ok crypto/rsa 0.462s
ok crypto/sha1 0.003s
ok crypto/sha256 0.003s
ok crypto/sha512 0.004s
ok crypto/subtle 0.005s
ok crypto/tls 2.197s
ok crypto/x509 1.246s
? crypto/x509/pkix [no test files]
ok database/sql 0.009s
ok database/sql/driver 0.002s
ok debug/dwarf 0.303s
ok debug/elf 0.060s
ok debug/gosym 0.002s
ok debug/macho 0.059s
ok debug/pe 0.004s
ok encoding/ascii85 0.060s
ok encoding/asn1 0.003s
ok encoding/base32 0.060s
ok encoding/base64 0.003s
ok encoding/binary 0.002s
ok encoding/csv 0.061s
ok encoding/gob 0.016s
ok encoding/hex 0.061s
ok encoding/json 0.060s
ok encoding/pem 0.003s
ok encoding/xml 0.060s
ok errors 0.002s
ok expvar 0.003s
ok flag 0.002s
ok fmt 0.026s
ok go/ast 0.066s
ok go/build 0.190s
ok go/doc 0.033s
ok go/format 0.005s
ok go/parser 0.021s
ok go/printer 0.381s
ok go/scanner 0.122s
ok go/token 0.021s
? hash [no test files]
ok hash/adler32 0.129s
ok hash/crc32 0.002s
ok hash/crc64 0.002s
ok hash/fnv 0.002s
ok html 0.003s
ok html/template 0.027s
ok image 0.062s
ok image/color 0.066s
ok image/draw 0.063s
ok image/gif 0.073s
ok image/jpeg 0.222s
ok image/png 0.024s
ok index/suffixarray 0.060s
ok io 0.295s
ok io/ioutil 0.062s
ok log 0.003s
ok log/syslog 2.732s
ok math 0.177s
ok math/big 0.386s
ok math/cmplx 0.002s
ok math/rand 0.014s
ok mime 0.002s
ok mime/multipart 0.685s
ok net 10.693s
ok net/http 13.817s
ok net/http/cgi 0.545s
ok net/http/cookiejar 0.545s
ok net/http/fcgi 0.003s
ok net/http/httptest 0.261s
ok net/http/httputil 0.715s
? net/http/pprof [no test files]
ok net/mail 0.122s
ok net/rpc 2.001s
ok net/rpc/jsonrpc 0.004s
ok net/smtp 0.300s
ok net/textproto 0.003s
ok net/url 0.003s
--- FAIL: TestKillStartProcess (1.35 seconds)
  os_test.go:1182: Test process succeeded, but expected to fail
FAIL
FAIL os 2.129s
ok os/exec 0.280s
ok os/signal 1.561s
ok os/user 0.002s
ok path 0.003s
ok path/filepath 0.156s
ok reflect 0.049s
ok regexp 0.109s
ok regexp/syntax 0.961s
ok runtime 26.598s
? runtime/cgo [no test files]
ok runtime/debug 1.143s
ok runtime/pprof 1.682s
? runtime/race [no test files]
ok sort 0.176s
ok strconv 0.499s
ok strings 0.240s
ok sync 0.057s
ok sync/atomic 0.073s
ok syscall 0.036s
ok testing 0.002s
? testing/iotest [no test files]
ok testing/quick 0.060s
ok text/scanner 0.003s
ok text/tabwriter 0.003s
ok text/template 0.386s
ok text/template/parse 0.050s
ok time 10.010s
ok unicode 0.055s
ok unicode/utf16 0.002s
ok unicode/utf8 0.250s
? unsafe [no test files]
Build complete, duration 4m24.416275609s. Result: error: exit status 1

--

---
You received this message because you are subscribed to the Google Groups "golang-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-dev+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupgolang-dev @
categoriesgo
postedJul 20, '13 at 9:41p
activeJul 20, '13 at 9:41p
posts1
users1
websitegolang.org

1 user in discussion

Builder: 1 post

People

Translate

site design / logo © 2022 Grokbase