Performance boost for RDF::RDFa::Parser with xml catalog file

Toby Inkster mail at tobyinkster.co.uk
Wed Dec 9 00:26:54 CET 2009


On Tue, 2009-12-08 at 23:20 +0100, Neubert Joachim wrote:
> Using locally stored copies of the 28 (!) XHTML+RDFa DTD files and a
> XML catalog file boosts RDF::RDFa::Parser performance for parsing a
> tiny XHTML file from ~ 13 sec to less than 1 sec.

Hmmm... well done. I thought switching off validation [->validation(0)]
would be enough to stop it trying to load the DTD, but it seems not. I
wonder if I can find a good way to build this technique into the next
release?

-- 
Toby A Inkster
<mailto:mail at tobyinkster.co.uk>
<http://tobyinkster.co.uk>


More information about the Dev mailing list