http://www.perlmonks.org?node_id=900348


in reply to writing the data structure into a XML file (with high performance)

Can the database return XML? Even though I love XML::Twig I assume it won't be the fastest because it's beefy; however, I could be wrong. How about some Benchmarks?

Replies are listed 'Best First'.
Re^2: writing the data structure into a XML file (with high performance)
by ikegami (Patriarch) on Apr 20, 2011 at 18:20 UTC

    It's not the fastest, but not because (just?) it's beefy. It's because it uses a relatively slow parser. One of the beefiest, XML::LibXML, is also one of the fastest.

    XML::Bare is tiny bit faster than XML::LibXML, but it has so many limitations. XML::Fast is suppose to be a bit faster yet, but I expect it has the same limitations.