Descriptionruntime: aggregate defer allocations
benchmark old ns/op new ns/op delta
BenchmarkDefer 165 113 -31.52%
BenchmarkDefer10 155 103 -33.55%
BenchmarkDeferMany 216 158 -26.85%
benchmark old allocs new allocs delta
BenchmarkDefer 1 0 -100.00%
BenchmarkDefer10 1 0 -100.00%
BenchmarkDeferMany 1 0 -100.00%
benchmark old bytes new bytes delta
BenchmarkDefer 64 0 -100.00%
BenchmarkDefer10 64 0 -100.00%
BenchmarkDeferMany 64 66 3.12%
Fixes issue 2364.
Patch Set 1 #Patch Set 2 : diff -r 1e5437c42bcc https://code.google.com/p/go/ #Patch Set 3 : diff -r 536e2af64ab7 https://code.google.com/p/go/ #
MessagesTotal messages: 4
|