List Info

Thread: Re: Raw benchmark - XML::Twig vs Expat




Re: Raw benchmark - XML::Twig vs Expat
country flaguser name
United Kingdom
2007-02-09 00:34:47
On 9 Jan 2007, at 17:55, howard chen wrote:

> I want to know, given a large xml file (e.g. GB in
size), just walking
> thru the whole file, what will be the factor of speedup
by using
> Expat, rather Twig

I'd consider either a LibXML or twig approach myself.

> factor of 10?
>
> anyone did these kind of test before?

http://x
mltwig.com/article/simple_benchmark/

As was pointed out, this is somewhat old. However you can
re-run the 
benchmark against newer versions of the libraries and with a
larger 
input file.

You may also want to look at XML::LibXML::Reader, though
I've not tried 
it personally.

Richard

_______________________________________________
Perl-XML mailing list
Perl-XMLlistserv.ActiveState.com
To unsubscribe: http:/
/listserv.ActiveState.com/mailman/mysubs

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )