Update benchmark results in README

This commit is contained in:
Fedor Korotkiy 2020-02-22 15:40:34 +03:00
parent c4203ff740
commit 62e470f493

View file

@ -20,12 +20,12 @@
goos: linux goos: linux
goarch: amd64 goarch: amd64
pkg: gitlab.com/slon/shad-go/varfmt pkg: gitlab.com/slon/shad-go/varfmt
BenchmarkFormat/small_int-4 4777486 240 ns/op 64 B/op 4 allocs/op BenchmarkFormat/small_int-4 4744729 263 ns/op 64 B/op 4 allocs/op
BenchmarkFormat/small_string-4 2580116 454 ns/op 168 B/op 8 allocs/op BenchmarkFormat/small_string-4 2388128 484 ns/op 168 B/op 8 allocs/op
BenchmarkFormat/big-4 9446 120667 ns/op 194656 B/op 41 allocs/op BenchmarkFormat/big-4 8997 127827 ns/op 194656 B/op 41 allocs/op
BenchmarkSprintf/small-4 8085470 142 ns/op 40 B/op 4 allocs/op BenchmarkSprintf/small-4 13330094 85.7 ns/op 2 B/op 1 allocs/op
BenchmarkSprintf/small_string-4 7574479 152 ns/op 40 B/op 4 allocs/op BenchmarkSprintf/small_string-4 9351295 123 ns/op 16 B/op 1 allocs/op
BenchmarkSprintf/big-4 22324 53264 ns/op 69000 B/op 20 allocs/op BenchmarkSprintf/big-4 12006 108144 ns/op 16392 B/op 1 allocs/op
PASS PASS
``` ```