#14640: Add elapsed request time to the development server log
-------------------------------------------+--------------------------------
   Reporter:  vaughnkoch                   |                Owner:  nobody    
     Status:  new                          |            Milestone:  1.3       
  Component:  HTTP handling                |              Version:  1.2       
   Keywords:  log time development server  |                Stage:  Unreviewed
  Has_patch:  1                            |           Needs_docs:  0         
Needs_tests:  0                            |   Needs_better_patch:  0         
-------------------------------------------+--------------------------------
 When doing performance testing on your code, it's helpful to see how long
 a request takes to be served.
 This ticket/patch adds the elapsed time in seconds to the end of each HTTP
 request line in the development server log.

 Example:
 {{{
 Validating models...
 0 errors found

 Django version 1.2.1, using settings 'weeplaces.settings'
 Development server is running at http://127.0.0.1:8000/
 Quit the server with CTRL-BREAK.
 [07/Nov/2010 15:57:17] "GET / HTTP/1.1" 200 11308 0.26
 [07/Nov/2010 15:57:27] "GET /media/css/reset.css HTTP/1.1" 304 0 0.05
 }}}
 The 0.26 for the first GET request indicates that it took a quarter of a
 second to serve the root page.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/14640>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-upda...@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to