std.xml2 (collecting features)

via Digitalmars-d digitalmars-d at puremagic.com
Tue May 5 03:41:36 PDT 2015


On Monday, 4 May 2015 at 19:28:25 UTC, Jacob Carlborg wrote:
> On 2015-05-03 19:39, Robert burner Schadek wrote:
>
>> Not much code yet, I'm currently building the performance test 
>> suite
>> https://github.com/burner/std.xml2
>
> I recommend benchmarking against the Tango pull parser.

Recently, I compared DOM parsers for an XML files of 100 MByte:

15.8 s tango.text.xml (SiegeLord/Tango-D2)
13.4 s ae.utils.xml (CyberShadow/ae)
  8.5 s xml.etree (Python)

Either the Tango DOM parser is slow compared to the Tango pull 
parser,
or the D2 port ruined the performance.


More information about the Digitalmars-d mailing list