RFC: std.json sucessor

Sean Kelly via Digitalmars-d digitalmars-d at puremagic.com
Sat Oct 18 12:53:22 PDT 2014


On Friday, 17 October 2014 at 18:27:34 UTC, Ary Borenszweig wrote:
>
> Once its done you can compare its performance against other 
> languages with this benchmark:
>
> https://github.com/kostya/benchmarks/tree/master/json

Wow, the C++Rapid parser is really impressive.  I threw together 
a test with my own parser for comparison, and Rapid still beat 
it.  It's the first parser I've encountered that's faster.


Ruby
0.4995479721139979
0.49977992077421846
0.49981146157805545
7.53s, 2330.9Mb

Python
0.499547972114
0.499779920774
0.499811461578
12.01s, 1355.1Mb

C++ Rapid
0.499548
0.49978
0.499811
1.75s, 1009.0Mb

JEP (mine)
0.49954797
0.49977992
0.49981146
2.38s, 203.4Mb


More information about the Digitalmars-d mailing list