Permalink
Fetching contributors…
Cannot retrieve contributors at this time
62 lines (36 sloc) 1.16 KB

Silk

.. toctree::
   :maxdepth: 2

   quickstart
   profiling
   configuration
   troubleshooting

Silk is a live profiling and inspection tool for the Django framework. Silk intercepts and stores HTTP requests and database queries before presenting them in a user interface for further inspection:

/images/1.png

A live demo is available here.

Features

  • Inspect HTTP requests and responses
    • Query parameters
    • Headers
    • Bodies
    • Execution Time
    • Database Queries
      • Number
      • Time taken
  • SQL query inspection
  • Profiling of arbritary code blocks via a Python context manager and decorator
    • Execution Time
    • Database Queries
    • Can also be injected dynamically at runtime e.g. if read-only dependency.
  • Authentication/Authorisation for production use

Requirements

  • Django: 1.11, 2.0
  • Python: 2.7, 3.4, 3.5, 3.6