Benchmarking serialization and deserialization for your API requests to understand which method gives better performance
- Node.js v15.10+
npm/yarn/buninstalled
bun install
bun run benchmark- Protobuf.js
- msgpackr
- @msgpack/msgpack
- avsc
- js-binary
- bser
- BSON
- fast-json-stringify [Serialization only]
To prevent Your-machine-may-vary use-case, run results on your machine.
MIT