Changes between Version 16 and Version 17 of ProfilingDjango


Ignore:
Timestamp:
04/18/2014 08:49:29 AM (15 months ago)
Author:
tclancy
Comment:

Removed "www" subdomain from snippet links as it's not working.

Legend:

Unmodified
Added
Removed
Modified
  • ProfilingDjango

    v16 v17  
    107107=== Middleware ===
    108108
    109 [http://www.djangosnippets.org/snippets/186/ Profiling Middleware] and [http://www.djangosnippets.org/snippets/605/ Extended Profiling Middleware] print profile results for method, additionally groups results by files and by modules. Add the "&prof=" query parameter and you'll see the profiling results in your browser. Unfortunately, these are both items on Django Snippets, so you should treat them as being untested abandonware, or, more charitably, example code.
     109[http://djangosnippets.org/snippets/186/ Profiling Middleware] and [http://djangosnippets.org/snippets/605/ Extended Profiling Middleware] print profile results for method, additionally groups results by files and by modules. Add the "&prof=" query parameter and you'll see the profiling results in your browser. Unfortunately, these are both items on Django Snippets, so you should treat them as being untested abandonware, or, more charitably, example code.
    110110
    111111There is another unofficial [http://www.no-ack.org/2010/12/yet-another-profiling-middleware-for.html profiling middleware], that attaches the profiler stats enclosed by a comment at the bottom of each HTML, XML and JSON document. That is useful in particular when profiling AJAX requests or when you want to watch the actual content and the profiler stats at the same time.
     
    160160== Other Approaches ==
    161161
    162 [http://www.mysoftparade.com/blog/django-profile-sql-performance/ django-profile.py] is a script that can be used to profile any Django-powered web-site and find how many SQL-queries are used per page, how heavy html-pages are, etc.  See also [http://www.djangosnippets.org/snippets/461/ django snippet 461].
     162[http://www.mysoftparade.com/blog/django-profile-sql-performance/ django-profile.py] is a script that can be used to profile any Django-powered web-site and find how many SQL-queries are used per page, how heavy html-pages are, etc.  See also [http://djangosnippets.org/snippets/461/ django snippet 461].
    163163
Back to Top