3 ms·
> Honestly, gzipped json is likely much smaller than uncompressed protobuf. Likely not. See here for a comparison: https://nilsmagnus.github.io/post/proto-json
by oll3 4y ago
> Honestly, gzipped json is likely much smaller than uncompressed protobuf.
Likely not. See here for a comparison: https://nilsmagnus.github.io/post/proto-json-sizes/ https://nilsmagnus.github.io/post/proto-json-sizes/
Btw, binary formats can also be compressed though it typically won't yield the same compression ratio as similar json would since there will be less repeation in the binary format.
- ninepoints 4y agoOr, we could have done a comparison with large strings and see the opposite result. Silly benchmark is silly (or should I say, specific)