Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • Modern versions of the DBI come with DBI::ProfileDumper and dbiprof, which are useful. They let you know how long your SQL took to execute.

    -Dom

  • To run mod_perl with Devel::Profile, try this:

      % setenv PERL5OPT -d:Profile
      % httpd -X -d `pwd` &
      ... make some requests to the server here ...
      % kill `cat logs/httpd.pid`
      % unsetenv PERL5OPT
      % dprofpp

    If Devel::Profile works for you, Devel::DProf should too.