aboutsummaryrefslogtreecommitdiff
path: root/src/sync
diff options
context:
space:
mode:
authorTravis Bischel <travis.bischel@gmail.com>2018-09-09 14:45:34 -0700
committerBrad Fitzpatrick <bradfitz@golang.org>2018-09-27 19:58:04 +0000
commit6a6f4a46536e9b2fb2bfb825269d6bd5e823fe8f (patch)
tree293bd61bfd90baaaa001d0fa02068c772f9bd0e0 /src/sync
parent06afc8b152bc01e1b4f5dce074bae531dd29a9b9 (diff)
downloadgo-6a6f4a46536e9b2fb2bfb825269d6bd5e823fe8f.tar.xz
net/textproto: redo BenchmarkReadMIMEHeader
This benchmark is odd currently because it uses inconsistent cases between benchmark iterations, and each iteration actually does a bit of testing. This separates the two benchmark cases into two separate benchmarks and removes the testing done on each iteration. The unit tests above suffice. The benchmark being more succinct will make it easier to gauge the benefits of any future MIME header reading changes. Change-Id: I2399fab28067f1aeec3d9b16951d39d787f8b39c Reviewed-on: https://go-review.googlesource.com/134225 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
Diffstat (limited to 'src/sync')
0 files changed, 0 insertions, 0 deletions