On Thu, 2 Aug 2001, Perrin Harkins wrote: > I've had the same experience, but I'm pretty sure the profiler was working > correctly. The thing is, I only got there after caching absolutely > everything else that was going on in the request. At that point, TT was > taking about 0.1 seconds to handle a complex template with formats and > dozens of includes. Not bad at all really, and most of it was Stash hits > which should get better with the C Stash or something similar.
Exactly. It wasn't until after a large amount of optimizing my code that I began to see only TT methods at the top of the profiler. In fact, my goal was to get everything under my control out of the picture. Most of the time is now spent in the dotop processing method. Since much of that time is spent trying to figure out what kind of object is being processed, a C implementation would be much faster, needing but a couple &s. Still, with TT it's 4 times faster than the previous system, written without any templating system -- that's an improvement in my book. ++t Tony Payne : Sr. Software Engineer : PETsMART.com : 626-817-7151
