* On Tue, Feb 10 2009, Jim Spath wrote:
> Will removing the plugin and calls to localize provide an appreciable
> performance boost? We do call the method alot in our templates.
Maybe. It is impossible to know without measuring it.
Try running your app with Devel::NYTProf [1] and seeing what's slow. If
localize isn't slow, removing it isn't going to speed up your app.
[1]
http://search.cpan.org/~timb/Devel-NYTProf-2.07/lib/Devel/NYTProf.pmThe basic idea is:
$ perl -d:NYTProf script/yourapp.pl
$ ab -n 10000
http://localhost:3000/path/to/slow/page $ GET
http://localhost:3000/quit [2]
$ nytprofhtml
< read profile in your web browser>
[2] sub quit :Global { exit(0) }, so that NYTProf can exit cleanly
Regards,
Jonathan Rockway
--
print just => another => perl => hacker => if $,=$"
_______________________________________________
List:
Catalyst@...
Listinfo:
http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalystSearchable archive:
http://www.mail-archive.com/catalyst@.../Dev site:
http://dev.catalyst.perl.org/