400
Comment:
|
1583
|
Deletions are marked like this. | Additions are marked like this. |
Line 12: | Line 12: |
---- == Dashboard == * [[https://devpad.canonical.com/~lpqateam/qa_reports/deployment-stable.html|stable deployment]] * [[https://devpad.canonical.com/~lpqateam/qa_reports/deployment-db-stable.html|db-stable deployment]] * [[https://bugs.launchpad.net/launchpad-project/+bugs?field.status=New&orderby=-heat|Triage: Launchpad Project]] * [[https://code.launchpad.net/launchpad-project/+activereviews|Reviews: Launchpad Project]] == 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`. |
Gavin Panella
|
I work on Launchpad Bugs, also known as Malone.
<gavin.panella AT SPAMFREE canonical DOT com>
- Launchpad
Dashboard
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.