1
0
mirror of https://github.com/golang/go synced 2024-11-22 00:54:43 -07:00
go/test/bench
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
..
garbage test/bench/garbage: fix parser benchmark 2012-04-05 20:35:54 +04:00
go1 test/bench/go1: add go/parser benchmark 2012-06-07 10:23:45 +10:00
shootout test/bench/shootout: more speedups 2012-05-30 12:31:28 -07:00