Code Profiling

Need these files for your Dreamwidth installation:


 * https://bitbucket.org/anall/dwdev-tools/changeset/9d572bb8dc13

Example config for Apache:

PerlSetEnv  LJHOME /home/dw

MaxClients 10 StartServers 3
 * 1) comment FOR profiling

StartServers 1 MaxClients 1
 * 1) uncomment FOR profiling

PerlSetEnv WANT_NYTPROF 0 PerlSetEnv NYTPROF file=/home/dw/logs/nytprof/log
 * 1) -- NYTProf
 * 1) PerlSetEnv WANT_NYTPROF 1


 * 1) uncomment for debugging
 * 2) then run apache manually with -X
 * 3) PerlSetEnv WANT_APACHE_DB 1

PerlRequire /home/dw/cgi-bin/setup_inc.pl PerlModule   DWDevelopment::ProfilingBootstrap
 * 1) leave this uncommented!