racke / Template-Flute

Template::Flute - Modern designer-friendly HTML templating Engine
Other
11 stars 12 forks source link

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

Open SysPete opened 9 years ago

SysPete commented 9 years ago

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 commented 9 years ago

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

racke commented 8 years ago

Makes a lot of sense though :-)

racke commented 8 years ago

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

racke commented 8 years ago

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