[Maypole-dev] Patch: vastly increased TT speed

From: Jesse Sheidlower (jester at panix.com)
Date: Wed Nov 24 2004 - 19:44:49 GMT


I was discussing profiling with Perrin recently, and he mentioned
template compilation is a potential area for big improvement. When
pressed, he delivered me the attached patch, which I share with his
permission. This is for Maypole::View::TT, and is very simple, using
Template::Provider.

I've tested this out on two Maypole apps, and it realizes an
improvement of 250-500% on requests/second output on various pages.
That by the way is the overall output, not a profiled improvement
of the template-processing stage alone.

Perhaps someone else could test it in a few apps, and then we can
commit if there are no objections.

Best,

Jesse

P.S. I want to reiterate that this is Perrin's patch, not mine.



_______________________________________________
maypole-dev mailing list
maypole-dev at lists.netthink.co.uk
http://lists.netthink.co.uk/listinfo/maypole-dev



This archive was generated by hypermail 2.1.3 : Thu Feb 24 2005 - 22:25:57 GMT