Created
August 25, 2016 21:54
-
-
Save abraithwaite/a8876d351edf16bc052cd6b5acdaa330 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21:50:54 $ go test -cpuprofile=cpu.out -bench='.*' ./ | |
A test suite for benchmarking various Go serialization methods. | |
See README.md for details on running the benchmarks. | |
BenchmarkCapNProto2Marshal-4 2000000 673 ns/op 244 B/op 3 allocs/op | |
BenchmarkCapNProto2Unmarshal-4 2000000 944 ns/op 320 B/op 6 allocs/op | |
PASS | |
ok github.com/alecthomas/go_serialization_benchmarks 4.921s |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21:53:22 $ go test -cpuprofile=cpu.out -bench='.*' ./ | |
A test suite for benchmarking various Go serialization methods. | |
See README.md for details on running the benchmarks. | |
BenchmarkCapNProto2Marshal-4 1000000 1060 ns/op 244 B/op 3 allocs/op | |
BenchmarkCapNProto2Unmarshal-4 1000000 1063 ns/op 320 B/op 6 allocs/op | |
PASS | |
ok github.com/alecthomas/go_serialization_benchmarks 2.179s |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment