I wrote a JSON library

w0rp devw0rp at gmail.com
Tue May 7 14:17:16 PDT 2013


>> std.json - 2689375370 ms
>> vibe.data.json - 2835431576 ms
>> dson - 3705095251 ms
>
> These results don't seem correct.  Is this really milliseconds?

Well this is embarrassing. I do apologise. I appear to have 
printed the TickDuration object value itself instead of the 
milliseconds. I think I spent too much time writing the benchmark 
and too little looking at the actual results. I ran it again 
quickly correcting the error (.msecs) and got much more 
reasonable looking results on a size of 1,000:

std.json : 7370 ms
vibe.data.json : 6878 ms
json : 9150 ms


More information about the Digitalmars-d mailing list