On Sat, 2007-12-22 at 23:00 -0800, Rob Hudson wrote: [...] > I wonder if the template system has become a bit more complex since > then. I also wonder if whatever tests they used included things like > includes in for loops. I tend to think that the filesystem is slow > and anything to remove FS calls and shove things in memory is a good > thing
If only there was some way to test all these wonderings. Hmm ... perhaps some kind of timing test over real world applications... we could call it "profiling". Work out how much the template parsing contributew to the overall request time (use some real world apps so that the not insignificant database portion doesn get omitted) and comapre before and afterwards. Then we'd have hard data, rather than hypotheses. :-) People tend to think I'm against these types of things on principle, which couldn't be further from the truth. However, I trust in science. Prove that it's a *significant* improvement for the level of added complexity (and that the simpler solution of wrapping exist template loaders in a caching test doesn't get even close to the same performance) and then we've got something to work with. Malcolm -- How many of you believe in telekinesis? Raise my hand... http://www.pointy-stick.com/blog/ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---

