dietbuddha has asked for the wisdom of the Perl Monks concerning the following question:
Is there some modules we can swap out HTML::TreeBuilder and XML::XPathEngine which are either faster or will at least push more of the cost into the parsing and creation of the tree instead of the searching?
We've recently started testing our dynamically generated HTML. However it's taking much longer now for the test suite to complete. We did some profiling on our slowest test file and found our 95% percent of the time spent in XML::XPathEngine which is the searching we do. However, less than half the tests are HTML related.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: XPath searching too slow
by mirod (Canon) on Jul 31, 2008 at 17:52 UTC | |
|
Re: XPath searching too slow
by moritz (Cardinal) on Jul 31, 2008 at 17:17 UTC |