Created
May 26, 2016 20:55
-
-
Save larribas/f4b51dda3be2a32b4a0037bb6585c22b 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
Serialization | |
============= | |
json 10 102188152 ns/op 37040009 B/op 60000 allocs/op | |
msgpack 100 14042713 ns/op 11520000 B/op 10000 allocs/op | |
msgpack + JSONSChema 1 2751294087 ns/op 533524400 B/op 5790984 allocs/op | |
avro 10 110052083 ns/op 40160011 B/op 610000 allocs/op | |
protobufs 50 30927919 ns/op 19600000 B/op 70000 allocs/op | |
thrift 50 24031566 ns/op 10240000 B/op 10000 allocs/op | |
Deserialization | |
=============== | |
json 5 261522220 ns/op 16160000 B/op 220000 allocs/op | |
msgpack 100 16823490 ns/op 12800000 B/op 160000 allocs/op | |
msgpack + JSONSChema 0 17219990 ns/op 12800000 B/op 160000 allocs/op | |
avro 20 52459995 ns/op 15680004 B/op 320000 allocs/op | |
protobufs 50 23102328 ns/op 15360000 B/op 190000 allocs/op | |
thrift 50 26814166 ns/op 20320000 B/op 160000 allocs/op |
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
Serialization | |
user system total real | |
json 1.510000 0.000000 1.510000 ( 1.508029) | |
msgpack 0.020000 0.010000 0.030000 ( 0.027943) | |
msgpack + JSONSchema 15.810000 0.640000 16.450000 ( 16.492389) | |
avro 0.690000 0.010000 0.700000 ( 0.692185) | |
protobuf 0.110000 0.000000 0.110000 ( 0.116757) | |
thrift 0.670000 0.000000 0.670000 ( 0.673393) | |
Deserialization | |
user system total real | |
json 0.160000 0.010000 0.170000 ( 0.169093) | |
msgpack 0.080000 0.020000 0.100000 ( 0.100349) | |
msgpack + JSONSchema 15.410000 0.580000 15.990000 ( 16.008355) | |
avro 0.640000 0.000000 0.640000 ( 0.638531) | |
protobufs 0.070000 0.000000 0.070000 ( 0.073985) | |
thrift 0.320000 0.000000 0.320000 ( 0.322873) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment