Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move to XML::LibXML / HTML::TreeBuilder::LibXML for speed improvements? #88

Open
SysPete opened this issue Mar 20, 2015 · 4 comments
Open
Assignees

Comments

@SysPete
Copy link
Collaborator

SysPete commented Mar 20, 2015

Now the Parse::RecDescent issue is fixed the next target has to be XML::Twig and friends:

Stmts Exclusive Time Reports Source File
46165 2.03s line XML/Twig.pm (including 22 string evals)
589249 773ms line HTML/Element.pm
209395 324ms line HTML/TreeBuilder.pm
8 28.8ms line Template/Flute.pm (including 3 string evals)

Perhaps we could move parsing to XML::LibXML perhaps via HTML::TreeBuilder::LibXML so we get lots of backend speed?

@racke
Copy link
Owner

racke commented Mar 20, 2015

That would have some merits, however that is a big task.

@racke racke added this to the Performance boosts milestone Aug 8, 2016
@racke racke self-assigned this Oct 21, 2016
@racke
Copy link
Owner

racke commented Oct 21, 2016

Makes a lot of sense though :-)

@racke
Copy link
Owner

racke commented Oct 21, 2016

HTML::TreeBuilder has seen its last release in 2012 ...

@racke
Copy link
Owner

racke commented Oct 21, 2016

But using XML::LibXML with a convenience layer should be sufficient.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants