3 ms·
From the Perl side, there's been an interesting talk by Graham TerMarsch[1] where he tried quite a few of the allegedly fastest JSON parsers and compared them t
by mhd 7y ago
From the Perl side, there's been an interesting talk by Graham TerMarsch[1] where he tried quite a few of the allegedly fastest JSON parsers and compared them to the standard solution (JSON::XS). Apparently a lot got lost "in translation", when converting the C/C++ data.
[1]: https://www.youtube.com/watch?v=BToZ_E3vU0Y https://www.youtube.com/watch?v=BToZ_E3vU0Y
- rurban 7y agoInteresting comparison of most fast json parsers. Just https://github.com/lemire/simdjson https://github.com/lemire/simdjson is missing. Purple beating RapidJSON. The standard is btw. my Cpanel::JSON::XS and he didn't compare with cperl which would be much faster and more secure. And he misinterpreted why glibc made a big difference. - march=native got better, not malloc.
- fnord123 7y agoI would like a json-game like csv-game[0] that benchmarks all of these together. Here is an example with a /lot/ of C++ parsers: https://github.com/miloyip/nativejson-benchmark https://github.com/miloyip/nativejson-benchmark [0] https://github.com/miloyip/nativejson-benchmark https://github.com/miloyip/nativejson-benchmark