in reply to Profiling/Benchmarking web applications
For quick and dirty profiling, I usually just add a -d:DProf switch to my web scripts in the first line, as:
#!/usr/bin/perl -d:DProf # my usual cgi script #
After cgi execution, you will find the usual `tmon.out' in the same folder as your cgi script.
Might be a good idea to run your httpd server in single process mode (-X for apache).
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Profiling/Benchmarking web applications.
by jryan (Vicar) on Aug 25, 2004 at 05:18 UTC | |
|
Re^2: Profiling/Benchmarking web applications.
by Anonymous Monk on Aug 25, 2004 at 11:45 UTC | |
by data64 (Chaplain) on Aug 26, 2004 at 04:19 UTC |