Binary Formats Are Better Than JSON in Browsers

30 adamkf 5 5/13/2025, 10:30:50 PM adamfaulkner.github.io ↗

Comments (5)

zigzag312 · 20m ago
MessagePack seems to use string field names. I wonder how it would perform with integer field keys defined (which MessagePack also supports).
jiehong · 50m ago
Wondering is Apache Parquet would compare well.

I’m unsure of the quality of parquet implementations for browsers [0], though.

[0]: https://github.com/hyparam/hyparquet

broken_broken_ · 2h ago
I initially did not see the use case for sending hundreds of MiB to the browser, but near the end, data visualization is mentioned which is fair.

I could also see video games and observability platforms needing to do this, for example Datadog, which must send lots of stack traces with long function names along with numerical data.

mannyv · 6h ago
Uh, where is the comparison? Is the final one deserialize and verify latency?
bdhcuidbebe · 4h ago
In the very first graph