On Wed, 23 Oct 2019 at 01:31, Michael Caisse via Boost
On 10/22/19 15:40, Robert Ramey via Boost wrote:
On 10/22/19 1:45 PM, Niall Douglas via Boost wrote:
I have the results from a simple benchmarking program that I wrote, which parses a bunch of random JSON. There are two data sets, a small one and a big one:
<snip impressive comparisons of parse times>
Impressive Vinnie. Not at all a small accomplishment to match RapidJSON. Congrats!
Nail,
I'd love to see the result you'd get by using one of number of JSON parsers implemented by Boost.Spirit. A number of them pop up by googling "C++ JSON spirit" including one by our own Michael Caisse. I'd also be curious to know the compile time as well as the runtime for the programs above.
The Michael Caisse one isn't made for speed. It does something else. It will perform poorly in comparison I suspect.
Yes, I confirm. I run it through my basic JSON benchmark in 2013 (before Milo from RapidJSON started his nativejson-benchmark): https://github.com/mloskot/json_benchmark However, it was/is a quality learning material! Best regards, -- Mateusz Loskot, http://mateusz.loskot.net