> Here are my latest profiling results, which highlight a couple of
> routines which might also be candidates for XSing... possibly in v3?
>
> Total Elapsed Time = 9649.115 Seconds
>   User+System Time = 8187.315 Seconds
> Exclusive Times
> %Time ExclSec CumulS #Calls sec/call Csec/c  Name
>  0.06   4.705 67.230  15016   0.0003 0.0045  Template::Provider::__ANON__
>  0.03   2.727 10.496  70016   0.0000 0.0001  Template::Stash::XS::get
>  0.03   2.572 50.012  14448   0.0002 0.0035  Template::Context::include
>  0.02   1.639  1.559  14732   0.0001 0.0001  Template::Stash::clone

Note that many people use INCLUDE rather than PROCESS, not realizing that it
is more expensive because it copies the stash every time.  If you don't need
the stash to be localized inside of your included templates, you should
replace all of those INCLUDEs with PROCESS.
- Perrin



Reply via email to