Code Profiling
From Dreamwidth Notes
You'll need the Dev Tools repository set up.
Example config for Apache:
PerlSetEnv LJHOME /home/dw # comment FOR profiling MaxClients 10 StartServers 3 # uncomment FOR profiling StartServers 1 MaxClients 1 PerlSetEnv WANT_NYTPROF 0 # -- NYTProf PerlSetEnv NYTPROF file=/home/dw/logs/nytprof/log #PerlSetEnv WANT_NYTPROF 1 # uncomment for debugging # then run apache manually with -X #PerlSetEnv WANT_APACHE_DB 1 # leave this uncommented! PerlRequire /home/dw/cgi-bin/setup_inc.pl PerlModule DWDevelopment::ProfilingBootstrap