You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note: But it should be noted that JSON.parse/stringify are benchmarked with string-to-binary and binary-to-string conversion time included. So msgpackr is still slower than JSON in browsers, where there is no custom native extension available.
I've thought may be developers of this package could be interested in exploring this. May be on some next major release on next protocol upgrade or something like that.
Feel free to close this)
The text was updated successfully, but these errors were encountered:
msgpackr
is an optimized msgpack-compatible library.https://github.com/kriszyp/msgpackr
It has node.js native c++ extension to speed up working with strings, and so it is more on par with native
JSON
, at least at the node part.Benchmarks in the article by the author show good performance
link - https://dev.doctorevidence.com/building-the-fastest-js-de-serializer-a413a2b4fb72
Note: But it should be noted that
JSON.parse/stringify
are benchmarked with string-to-binary and binary-to-string conversion time included. Somsgpackr
is still slower thanJSON
in browsers, where there is no custom native extension available.I've thought may be developers of this package could be interested in exploring this. May be on some next major release on next protocol upgrade or something like that.
Feel free to close this)
The text was updated successfully, but these errors were encountered: