Skip to content
This repository has been archived by the owner on Mar 24, 2020. It is now read-only.

acdha/django-speedtracer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Django Speed Tracer

Simple performance monitoring for Django using Google Chrome's Speed Tracer

Notes

Chrome Dev channel has not been stable with the Speed Tracer extension. If you don't see the server trace results or anything in the request/response headers you are probably running into this issue:

http://code.google.com/p/speedtracer/issues/detail?id=28

Installation

  1. Download and install Speed Tracer:

    http://code.google.com/webtoolkit/speedtracer/get-started.html

  2. Add "speedtracer" to your INSTALLED_APPS

  3. Add "speedtracer.middleware.SpeedTracerMiddleware" to the beginning of your MIDDLEWARE_CLASSES (this is important if you're also using projects like django-localeurl which alter normal URL routing)

  4. Load your page inside Chrome with SpeedTracer enabled

  5. Open SpeedTracer and expand the "Server Trace" in the page's detailed report which should look something like this:

    http://farm5.static.flickr.com/4115/4815493734_4c20d6894f.jpg

Example

There is a simple example project available in example_project which can be used to test the UI:

  1. Create a virtualenv
  2. Install django
  3. Change into example_project and run manage.py runserver

Releases

No releases published

Packages

No packages published

Languages