PageRenderTime 3ms CodeModel.GetById 1ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/djangologging/docs/Profiling.wiki

http://django-logging.googlecode.com/
Unknown | 42 lines | 29 code | 13 blank | 0 comment | 0 complexity | dd89ede007f0789cc9ddbfc1227f716d MD5 | raw file
 1#summary Information about the profiling branch
 2#labels Featured
 3
 4= Introduction =
 5
 6This page describes the *profiling* branch for _django-logging_. This introduces
 7additional functionality to make use of the Python's
 8[http://docs.python.org/lib/profile.html profiling capabilities].
 9
10= Installation =
11
12The branch can be checked out from:
13
14{{{
15svn co http://django-logging.googlecode.com/svn/branches/profiling/djangologging/ djangologging
16}}}
17
18The basic installation instructions are the same as those on the [Overview]
19page. The new `LOGGING_PROFILER` setting must also be provided to enable
20profiling:
21
22|| *Variable*         || *Default* || *Description* ||
23|| `LOGGING_PROFILER` || `None`    || To enable profiling, set this to a supported profiler. Currently this can be either `hotshot` or `cProfile`. ||
24
25= Todo =
26
27  * Store the profile data in a FIFO queue so that only data from the last _n_ requests is kept.
28  * Make the graph thumbnail draggable for fast panning.
29  * Allow sorting, grouping, etc. on the raw statistics.
30  * Add `trans` and `blocktrans` tags to the new templates. 
31
32= Feedback =
33
34This branch is effectively a beta pre-release, so I'm keen to get feedback and
35ideas for what it should do. If you spot any bugs or want to make a suggestion,
36please use the
37[http://code.google.com/p/django-logging/issues/list issue tracker], or
38[http://www.nevett.org/contact contact me directly].
39
40Thanks,
41
42Fraser