in reply to Re: web performance 2010
in thread web performance 2010
Profiling, to find bottlenecks.
I can only second that. About three weeks ago, I had a factor 30 (3000%!) speedup after some litte benchmarking with Devel::NYTProf and nytprofhtml. One of the first actions after removing some of my really stupid code(1)was to get rid of XML::Twig and use XML::LibXML instead.
(1) Don't code when your brain is in power save mode: Traversing a large tree to find the root node at least once for every node (900.000 times per script run) doesn't make your code faster. Using the root node that is already stored in $self does. ;-)
Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)