#format rst ======================= Profiling Launchpad ======================= - Apply:: === modified file 'configs/development/launchpad-lazr.conf' --- configs/development/launchpad-lazr.conf 2009-01-21 03:21:56 +0000 +++ configs/development/launchpad-lazr.conf 2009-02-04 16:01:04 +0000 @@ -5,6 +5,10 @@ [meta] extends: ../../lib/canonical/config/schema-lazr.conf +[profiling] +profile_requests: True +profile_dir: /tmp/profiling + [archivepublisher] root: /var/tmp/archive - ``mkdir /tmp/profiling`` - ``make run`` and use the application. - ``wget http://jrfonseca.googlecode.com/svn/trunk/gprof2dot/gprof2dot.py`` - ``python gprof2dot.py -n 1 -f pstats /tmp/profiling/''blah.prof'' | dot -Tpng -o profiling.png`` - Look at ``profiling.png``.