• Shenghou Ma's avatar
    test/bench/go1: fix gzip test · 6b4ae1d2
    Shenghou Ma authored
          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
    6b4ae1d2
Name
Last commit
Last update
api Loading commit data...
doc Loading commit data...
include Loading commit data...
lib Loading commit data...
misc Loading commit data...
src Loading commit data...
test Loading commit data...
.hgignore Loading commit data...
.hgtags Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README Loading commit data...
favicon.ico Loading commit data...
robots.txt Loading commit data...