3 ms·
Because accessing fields in a binary format is a seek() while in a text format it is much more complicated. Try to build a mental model what is required to pars
by StreamBright 7y ago
Because accessing fields in a binary format is a seek() while in a text format it is much more complicated. Try to build a mental model what is required to parse text based formats.
You can have a look to results of performance testing involving these binary message formats vs json.
http://zderadicka.eu/comparison-of-json-like-serializations-json-vs-ubjson-vs-messagepack-vs-cbor/ http://zderadicka.eu/comparison-of-json-like-serializations-...
https://github.com/ludocode/schemaless-benchmarks#speed---desktop-pc https://github.com/ludocode/schemaless-benchmarks#speed---de...
https://eng.uber.com/trip-data-squeeze/ https://eng.uber.com/trip-data-squeeze/
http://ugorji.net/blog/benchmarking-serialization-in-go http://ugorji.net/blog/benchmarking-serialization-in-go
- garmaine 7y agoSorry, I read "order of magnitude more efficient" and was confused.
- StreamBright 7y agoIf you take into consideration the sum of energy it takes to process an average daily dataset, then yes I think it will be an order of magnitude more efficient (in terms of energy use).