Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/agiliq/django-servertiming
https://github.com/agiliq/django-servertiming
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/agiliq/django-servertiming
- Owner: agiliq
- License: bsd-3-clause
- Created: 2018-03-06T09:14:07.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-04-04T14:35:25.000Z (almost 7 years ago)
- Last Synced: 2024-08-04T04:04:05.908Z (5 months ago)
- Language: Python
- Size: 52.7 KB
- Stars: 24
- Watchers: 5
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
- starred-awesome - django-servertiming - (Python)
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 timeInstallation 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