Wanted: Review manager for std.data.json
weaselcat via Digitalmars-d
digitalmars-d at puremagic.com
Thu Apr 9 12:06:34 PDT 2015
On Thursday, 9 April 2015 at 11:49:00 UTC, Martin Nowak wrote:
> On 04/08/2015 08:32 PM, tcha wrote:
>
> Now with release numbers.
>
>> D new - debug - 14.98s, 1782.0Mb
> 8.53s, 1786.8Mb
>> D new Gdc - debug - 29.08s, 1663.9Mb
> GDC still misses @nogc support.
>> D new Ldc - 16.99s, 1663.0Mb
> 18.76s, 1664.1Mb
>> D new lazy - debug - 11.50s, 213.2Mb
> 4.57s, 206Mb
>> D new lazy Gdc - 13.66s, 206.1Mb
> Can't compile stdx.data.json with gdc-4.9.0 which doesn't yet
> support @nogc.
>> D new lazy Ldc - 3.59s, 205.4Mb
> 4.0s, 205.4Mb
>
> LDC doesn't yet have the GC improvements, therefor is much
> slower for
> the DOM parsing benchmarks.
ldc -singleobj flag speeds it up dramatically
ldc2 -ofjson_d_new_lazy_ldc -O5 -release -enable-inlining -w -oq
-Istd_data_json/source/ std_data_json/source/stdx/data/json/*.d
test_new_lazy.d
./json_d_new_lazy_ldc 2.79s user 0.08s system 99% cpu 2.868 total
ldc2 -singleobj -ofjson_d_new_lazy_ldc -O5 -release
-enable-inlining -w -oq -Istd_data_json/source/
std_data_json/source/stdx/data/json/*.d test_new_lazy.d
./json_d_new_lazy_ldc 1.78s user 0.08s system 99% cpu 1.869 total
for comparison:
./json_rapid_cpp 0.80s user 0.30s system 99% cpu 1.106 total
Bye.
More information about the Digitalmars-d
mailing list