Christopher Lenz wrote:
> Well, Genshi templates are cached in memory, so parsing is only  
> necessary when there's a cache miss or the template file has changed.

That's nice. I didn't know that.

I just had a look on your benchmarks and yes, you have correctly put the 
compilation/parsing in the setup and measure only the rendering time. It 
seems the performance loss happened in 0.9.4 only; the 0.9.5 does not 
seem to be any slower, or did you notice a loss in 0.9.5 as well?

The loss in 0.9.4 is easily explainable with the flexbile formatting of 
the output which has been added in that version and is not optimized for 
performance yet. I'll work on that for the next release.

-- Chris

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
kid-template-discuss mailing list
kid-template-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kid-template-discuss

Reply via email to