1
0
mirror of https://github.com/golang/go synced 2024-11-21 23:54:40 -07:00
go/test/bench
Shenghou Ma 6b4ae1d28e test/bench/go1: fix gzip test
We can't depend on init() order, and certainly we don't want to
register all future benchmarks that use jsonbytes or jsondata to init()
in json_test.go, so we use a more general solution: make generation of
jsonbytes and jsondata their own function so that the compiler will take
care of the order.

R=golang-dev, dave, rsc
CC=golang-dev
https://golang.org/cl/6282046
2012-06-05 00:14:39 +08:00
..
garbage test/bench/garbage: fix parser benchmark 2012-04-05 20:35:54 +04:00
go1 test/bench/go1: fix gzip test 2012-06-05 00:14:39 +08:00
shootout test/bench/shootout: more speedups 2012-05-30 12:31:28 -07:00