commit | f64ceef66c8e01e87bcd7d0324cdfbee7a34b1d6 | [log] [tgz] |
---|---|---|
author | Brad Fitzpatrick <brad@danga.com> | Mon Dec 08 11:27:54 2014 -0800 |
committer | Brad Fitzpatrick <brad@danga.com> | Mon Dec 08 11:27:54 2014 -0800 |
tree | fe9ca8dbe0edc10a6b7a8244e57ef8c7fb359b07 | |
parent | 5df015f2d63f1f3b5445cee85ff2979ad0583545 [diff] |
Add a POST benchmark. Notably to show all the garbage from the body buffer. For reference, where we're currently at: $ go test -v -run=^$ -bench=. -benchtime=2s PASS BenchmarkServerGets 5000 527516 ns/op 1559 B/op 48 allocs/op BenchmarkServerPosts 3000 747704 ns/op 69146 B/op 66 allocs/op