Descriptionfmt: use sync.Cache
benchmark old ns/op new ns/op delta
BenchmarkSprintfInt 363 368 +1.38%
BenchmarkSprintfInt-2 457 249 -45.51%
BenchmarkSprintfInt-4 850 142 -83.29%
BenchmarkSprintfInt-8 1220 78 -93.61%
BenchmarkSprintfInt-16 1226 58 -95.22%
BenchmarkManyArgs 2233 2296 +2.82%
BenchmarkManyArgs-2 1255 1316 +4.86%
BenchmarkManyArgs-4 1250 714 -42.88%
BenchmarkManyArgs-8 1100 429 -61.00%
BenchmarkManyArgs-16 1528 361 -76.37%
Patch Set 1 #Patch Set 2 : diff -r 7778f3df0d19 https://dvyukov%40google.com@code.google.com/p/go/ #Patch Set 3 : diff -r 7778f3df0d19 https://dvyukov%40google.com@code.google.com/p/go/ #Patch Set 4 : diff -r 7778f3df0d19 https://dvyukov%40google.com@code.google.com/p/go/ #
Total comments: 3
MessagesTotal messages: 2
|