1
0
mirror of https://github.com/golang/go synced 2024-09-25 13:20:13 -06:00
go/test/bench/go1
Dave Cheney 6423682019 test/bench/go1: add go/parser benchmark
As discussed in

https://groups.google.com/d/msg/golang-dev/Na9XE6mcQyY/zbeBI7R-vnoJ

Here is a static copy of the go/parser benchmark. I ended up using
fancy encodings because the original parser.go had a number of `s
scattered throughout which made it hard to embed the source directly.

Curiously on my laptop this benchmark always scores roughly 10% higher
than the standalone benchmark. This may be down to the generation of
the fasta data set triggering the cpu governor to raise the cpu speed.
However the benchmark is consistent with itself across multiple runs.

R=golang-dev, minux.ma, rsc
CC=golang-dev
https://golang.org/cl/6305055
2012-06-07 10:23:45 +10:00
..
binarytree_test.go test/bench/go1: first draft of Go 1 benchmark suite 2011-12-15 12:32:59 -05:00
fannkuch_test.go test/bench/go1: first draft of Go 1 benchmark suite 2011-12-15 12:32:59 -05:00
fasta_test.go test/bench/go1: reduce fasta data size for linux/arm 2012-06-06 07:49:58 +10:00
gob_test.go test/bench/go1: fix gzip test 2012-06-05 00:14:39 +08:00
gzip_test.go build: re-enable some broken tests in run.bash 2012-03-08 06:23:56 +08:00
json_test.go test/bench/go1: fix gzip test 2012-06-05 00:14:39 +08:00
jsondata_test.go test/bench/go1: first draft of Go 1 benchmark suite 2011-12-15 12:32:59 -05:00
mandel_test.go test/bench/go1: add mandelbrot for floating point 2012-05-30 10:26:59 -04:00
parser_test.go test/bench/go1: add go/parser benchmark 2012-06-07 10:23:45 +10:00
parserdata_test.go test/bench/go1: add go/parser benchmark 2012-06-07 10:23:45 +10:00
revcomp_test.go test/bench/go1: reduce fasta data size for linux/arm 2012-06-06 07:49:58 +10:00
template_test.go test/bench/go1: first draft of Go 1 benchmark suite 2011-12-15 12:32:59 -05:00