in reply to Profiling Catalyst

What have you tried so far?

Devel::DProf should work just fine. I prefer Devel::SmallProf myself but they should both do the job.

First, start your Catalyst app with "perl -d:DProf script/myapp_server.pl" then hit it repetitively with something like ab '/usr/sbin/ab -n 1000 "http://127.0.0.1:3000/"'. Then you'll just need to kill the development server with CTRL+C. This should at the very least identify the hotspots on the slow pages you're concerned with.

Replies are listed 'Best First'.
Re^2: Profiling Catalyst
by holli (Abbot) on Jul 23, 2007 at 18:21 UTC
    I've just tried that and it segfaults (Win32, ActivePerl 5.8.8)


    holli, /regexed monk/
      Yeah, that has happened to me too under win32.

      See if you can get any of these to work.

      /J