• Travis Bischel's avatar
    net/textproto: redo BenchmarkReadMIMEHeader · 6a6f4a46
    Travis Bischel authored
    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/134225Reviewed-by: 's avatarBrad Fitzpatrick <bradfitz@golang.org>
    Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    6a6f4a46
Name
Last commit
Last update
..
header.go Loading commit data...
pipeline.go Loading commit data...
reader.go Loading commit data...
reader_test.go Loading commit data...
textproto.go Loading commit data...
writer.go Loading commit data...
writer_test.go Loading commit data...