I created this to test out how good avro, flexbuffers, cbor, msgpack, and others are at:
- Compressing data
- How close they come to passing WPT structuredClone tests
- How fast they are (and if they make any tradeoff)
- And finding out if they have any bugs
- And what they support and what not
- How they work differently
I haven't written any packer myself so this is an unopinionated test case that test all the packers I could find. I often find the performance results to be somewhat misleading as they only promote themselves, and they only test one specific version of their dependencies and only test in one engine and not the others. I've tried to make this test as fair as possible by using the same data for all packers, and using the same test harness for all packers.
The goal of this was to find a suitable import/export library for things you can store in IndexedDB.
(Click on each ✅ ❌ to see more details)