- In Startup.pl:
# The Apache::DProf requires this
use Apache::Registry; - In conf:
PerlModule Apache::DProf
- Make sure the logs directory has write rights
- Restart Apache & do whatever you want in the browser page
- Stop Apache (only then the tmon.out will get complete output)
- Go to the directory where tmon is (logs/dprof/
/) and run dprofpp
Refer: Code Profiling Techniques