msgpack-lite
msgpack-lite copied to clipboard
Benchmarks innacurate
Hey @kawanet,
That's not really an issue.
I just want to share that I've been doing some benchmarks recently, and it seems that msgpack-javascript and msgpack-js-v5 performs better in some cases.
Maybe it would be nice to have different inputs for the benchmarks in your README, since some projects may have different needs when choosing a library like this.
Congrats for your implementation, which seems really great! Cheers
@endel - Your benchmarks aren't doing what you think they are. You forgot to JSON.parse the data. Once you change this, msgpack-lite should perform a lot better relatively.
@mtth oops, you're right! I've made this change and updated the README with new results. Thanks for checking out.
I've also added the same sample used to benchmark msgpack-lite here: sample-datatypes.json - and msgpack-lite indeed stands out in this case.
This can probably be closed :)