Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/agiliq/django-servertiming


https://github.com/agiliq/django-servertiming

Last synced: about 2 months ago
JSON representation

Awesome Lists containing this project

README

        

Django Servertiming ⌛
===============================================

Django servertiming is allows you to view performance details for your app in the chrome dev tools. It uses the `Server Timing API
`_.

This is how it looks like in chrome: (Available at Chrome → Dev Tools → Network → Timing )

.. image:: servertiming.png

It shows 4 timings

* DB, total time taken by all queries
* Total elapsed time
* User and System CPU time

Installation and Usage
===============================================

* Add :code:`Servertiming` app to your project (Pip install coming soon)
* Add :code:`'servertiming.middleware.ServerTimingMiddleware'` to your :code:`settings.MIDDLEWARE`
* Open any page and go to Chrome → Dev Tools → Network → Timing