Skip to content

Instantly share code, notes, and snippets.

@aanand
Created January 18, 2012 16:46
Show Gist options
  • Save aanand/1633968 to your computer and use it in GitHub Desktop.
Save aanand/1633968 to your computer and use it in GitHub Desktop.
loading GPX...99 files loaded (total size 7809.02k)
Checking correctness
--------------------
checking json...ok
checking msgpack...ok
checking protobuf...ok
preparing serialized data...ok
Space efficiency (raw, gzip)
----------------------------
json: 3489.23k, 653.80k
msgpack: 2814.68k, 749.36k
protobuf: 2251.05k, 700.91k
Parsing (min, max, avg)
-----------------------
json: 0.17ms, 84.65ms, 13.90ms
msgpack: 0.16ms, 73.64ms, 12.46ms
protobuf: 0.35ms, 146.18ms, 24.12ms
Serialization (min, max, avg)
-----------------------------
json: 0.03ms, 46.28ms, 2.95ms
msgpack: 0.02ms, 45.01ms, 1.78ms
protobuf: 0.14ms, 63.92ms, 10.76ms
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment