Does anyone have any suggestions on profiling CGI scripts? I've started playing with Devel::Dprof, but everytime my CGI runs it overwrites the tmon.out file. My CGI has multiple frames, so it gets called several times for every page, overwriting the tmon.out file everytime. I'd like to get some kind of cumulative statistics for several for where the CGI is spending its time while I go through several screen of the CGI application.
I was wondering if anyone had any suggestions on using Devel::Dprof with CGI scripts, or any other suggestions on profiling a CGI script.