{ "info": { "author": "Mat Clayton", "author_email": "mat@mixcloud.com", "bugtrack_url": null, "classifiers": [ "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Topic :: Internet :: WWW/HTTP", "Topic :: Internet :: WWW/HTTP :: Dynamic Content" ], "description": "=======================================================\ndjango-speedbar - Page performance profiling for django\n=======================================================\n\n.. image:: https://codeship.com/projects/72818310-a428-0133-4c94-120ced3a4ed3/status?branch=master\n :target: https://codeship.com/projects/129380\n\n.. image:: https://github.com/theospears/django-speedbar/raw/master/docs/images/chrome-speedtracer.png\n\ndjango-speedbar instruments key events in the page loading process (database\nqueries, template rendering, url resolution, etc) and provides summary\ninformation for each page load, as well as integration with Google Chrome\nSpeedTracer to show a tree of the events taking place in a page load.\n\nIt is designed to be run on live sites, with minimal performance impact.\nAlthough all requests are monitored, results are only visible for users\nwith the staff flag.\n\n\nInstallation\n============\n\nTo install django-speedbar add it to your installed apps, urls, and add the\nspeedbar middleware.\n\n.. code:: python\n\n # settings.py\n\n INSTALLED_APPS = [\n # ...\n 'speedbar',\n # ...\n ]\n\n # For best results put speedbar as near to the top of your middleware\n # list as possible. django-speedbar listens to the django request_finished\n # signal so actions performed by middleware higher up the stack will still\n # be recorded, but will not be included in summary data.\n MIDDLEWARE_CLASSES = [\n 'speedbar.middleware.SpeedbarMiddleware',\n # ...\n ]\n\n.. code:: python\n\n # urls.py\n\n urlpatterns = patterns('',\n # ...\n (r'^speedbar/', include('speedbar.urls')),\n # ...\n )\n\n\nTo view the results in SpeedTracer you will also need to install the\n`SpeedTracer plugin `_.\n\nTo include summary information in the page you can use the ``metric`` template\ntag.\n\n.. code:: html\n\n {% load speedbar %}\n
\n Overall: {% metric \"overall\" \"time\" %} ms\n SQL: {% metric \"sql\" \"count\" %} ({% metric \"sql\" \"time\" %} ms)\n \n
\n\nConfiguration\n=============\n\ndjango-speedbar has a number of configuration settings.\n\n.. code:: python\n\n # Enable instrumentation of page load process\n SPEEDBAR_ENABLE = True\n\n # Enable the summary data template tags\n SPEEDBAR_PANEL = True\n\n # Include headers needed to show page generation profile tree in the\n # Google Chrome SpeedTracer plugin.\n SPEEDBAR_TRACE = True\n\n # Include response headers with summary data for each request. These are\n # intended for logging and are included in all requests, not just staff\n # requests. If you turn this on we recommend configuring your load\n # balancer to strip them before sending the response to the client.\n SPEEDBAR_RESPONSE_HEADERS = False\n\n # Configure which instrumentation modules to load. This should not\n # normally be necessary for built in modules as they will only load\n # if the relevant clients are installed, but is useful for adding\n # additional custom modules.\n SPEEDBAR_MODULES = [\n 'speedbar.modules.stacktracer', # Most other modules depend on this one\n 'speedbar.modules.pagetimer',\n 'speedbar.modules.sql',\n 'myproject.modules.sprockets',\n # ...\n ]\n\nStatus\n======\n\nWe run our production systems with django-speedbar installed. However, the API\nis not stable and is likely to change. It does not yet have any default\ntemplates to make it easier to use the on-page features.\n\nSimilar projects\n================\n\nThere are a number of similar projects you may want to consider as well as\nor instead of django-speedbar.\n\ndjango-debug-toolbar\n--------------------\nWebsite: ``_\n\nThe swiss army knife of django page inspection. Mature, widely used, and\nwith lots of plugins available. It has more of a focus on debugging and\ninformation, and less focus on performance measurement. We found it too\nslow to run on our sites in production.\n\nNew Relic\n---------\nWebsite: ``_\n\nAn in depth application monitoring platform. Very useful for observing\ntrends in application performance and page load times. Less useful for\ndrilling deep into individual page loads, and has support for a smaller\nset of external services. Commercial product.\n\ndjango-live-profiler\n--------------------\nWebsite: ``_\n\nSite wide profiler for django applications. I haven't used this, so\ncannot comment on it.\n\n\nCredits\n=======\ndjango-speedbar was primarily written by Theo Spears whilst working at `Mixcloud `_.", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/mixcloud/django-speedbar", "keywords": null, "license": "MIT License", "maintainer": null, "maintainer_email": null, "name": "django-speedbar", "package_url": "https://pypi.org/project/django-speedbar/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-speedbar/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://github.com/mixcloud/django-speedbar" }, "release_url": "https://pypi.org/project/django-speedbar/0.2.2/", "requires_dist": null, "requires_python": null, "summary": "Provides a break down of page loading time", "version": "0.2.2" }, "last_serial": 1923555, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "2e3237b872b9d5d924279220c7a106a8", "sha256": "cb244fa74997feb22a68ff1e7aff888c5583de12605a4b6ad5f84901f614084b" }, "downloads": -1, "filename": "django-speedbar-0.1.tar.gz", "has_sig": false, "md5_digest": "2e3237b872b9d5d924279220c7a106a8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13250, "upload_time": "2014-04-15T13:24:18", "url": "https://files.pythonhosted.org/packages/90/36/7211f9b8dd885d6dfdbe15874e7c9560713013649de63ef9d4fb17721669/django-speedbar-0.1.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "6f14ea523fc3a7ff81f61bf734960a31", "sha256": "439d5b2807163be18544cdf7dbed2305fb895469758c93723c4cae51fc848697" }, "downloads": -1, "filename": "django-speedbar-0.1.1.tar.gz", "has_sig": false, "md5_digest": "6f14ea523fc3a7ff81f61bf734960a31", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13249, "upload_time": "2014-04-15T13:28:35", "url": "https://files.pythonhosted.org/packages/9d/1f/936bd7f7971c947e63689a1d88fbb784528cfb67a5fd7ea23531c45a62af/django-speedbar-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "d5d716f5fa9953766b96d9b17d462097", "sha256": "71bdfb43b0ad9712a3d0d282835d46c96302f9e2cd5181d3339f3f74da55de90" }, "downloads": -1, "filename": "django-speedbar-0.1.2.tar.gz", "has_sig": false, "md5_digest": "d5d716f5fa9953766b96d9b17d462097", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13420, "upload_time": "2014-04-25T10:48:20", "url": "https://files.pythonhosted.org/packages/0b/2c/6835de2c282b832e5926e5cbb033de22a4c81d2d5cac1d3992484ffb2f56/django-speedbar-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "87ff8c037e7037184f558d5f5e341e37", "sha256": "9d9dfa346314833291c2b298e73f1b1db963b8b8bc6a1ea3b9c3224d27a43d03" }, "downloads": -1, "filename": "django-speedbar-0.1.3.tar.gz", "has_sig": false, "md5_digest": "87ff8c037e7037184f558d5f5e341e37", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13423, "upload_time": "2014-07-21T16:22:17", "url": "https://files.pythonhosted.org/packages/e8/6d/5c8ce5c65fbae3e61e0027b2f6b814255521071b9c239619a96ede6e856d/django-speedbar-0.1.3.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "a6c51530ed3cb5637ac5d9e04a7fcb55", "sha256": "a95c568c43fe40207c2faa53caa50ec96d5a0d3af59763b801b7469c4c7dcfea" }, "downloads": -1, "filename": "django-speedbar-0.2.0.tar.gz", "has_sig": false, "md5_digest": "a6c51530ed3cb5637ac5d9e04a7fcb55", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13592, "upload_time": "2016-01-04T19:32:03", "url": "https://files.pythonhosted.org/packages/2d/a2/efd853c106eb283b605cb161e67b8a621e12a3607a908e32f2405fe95eac/django-speedbar-0.2.0.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "e6c7fe549d55915a3e47cb098613b3e8", "sha256": "52249abe48fb2dc251110dfee1e9d0dbc4acd0bbb1803ee087721497dce79624" }, "downloads": -1, "filename": "django-speedbar-0.2.1.tar.gz", "has_sig": false, "md5_digest": "e6c7fe549d55915a3e47cb098613b3e8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13932, "upload_time": "2016-01-24T12:42:43", "url": "https://files.pythonhosted.org/packages/70/bb/7b8739f9791dc5919e2513d43df18902f02a3467f577ed11b43630cab1af/django-speedbar-0.2.1.tar.gz" } ], "0.2.2": [ { "comment_text": "", "digests": { "md5": "6578f0e212df5a7b40171cd30c5bd280", "sha256": "a467b3da7494d9323531ad27c58980f3a16bdec458f70d7b80a19cfa158d9cbc" }, "downloads": -1, "filename": "django_speedbar-0.2.2-py2-none-any.whl", "has_sig": false, "md5_digest": "6578f0e212df5a7b40171cd30c5bd280", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 23324, "upload_time": "2016-01-26T11:13:23", "url": "https://files.pythonhosted.org/packages/b4/e6/36866da09213053190b399a7f9f5495db23fc30ea8b6bf8fa72561204941/django_speedbar-0.2.2-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "957c4bf40852fc3d39da47f4cfe56e45", "sha256": "4549707e29b7771bdca4e2d5e4f61fd74dfd7ab0c495f129e26aaf1ac5c244b3" }, "downloads": -1, "filename": "django-speedbar-0.2.2.tar.gz", "has_sig": false, "md5_digest": "957c4bf40852fc3d39da47f4cfe56e45", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14053, "upload_time": "2016-01-26T11:13:03", "url": "https://files.pythonhosted.org/packages/95/b1/07b5d6b01ff000c582cf09c921505d37a521d03851d9c08036c9e6a280f4/django-speedbar-0.2.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "6578f0e212df5a7b40171cd30c5bd280", "sha256": "a467b3da7494d9323531ad27c58980f3a16bdec458f70d7b80a19cfa158d9cbc" }, "downloads": -1, "filename": "django_speedbar-0.2.2-py2-none-any.whl", "has_sig": false, "md5_digest": "6578f0e212df5a7b40171cd30c5bd280", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 23324, "upload_time": "2016-01-26T11:13:23", "url": "https://files.pythonhosted.org/packages/b4/e6/36866da09213053190b399a7f9f5495db23fc30ea8b6bf8fa72561204941/django_speedbar-0.2.2-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "957c4bf40852fc3d39da47f4cfe56e45", "sha256": "4549707e29b7771bdca4e2d5e4f61fd74dfd7ab0c495f129e26aaf1ac5c244b3" }, "downloads": -1, "filename": "django-speedbar-0.2.2.tar.gz", "has_sig": false, "md5_digest": "957c4bf40852fc3d39da47f4cfe56e45", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14053, "upload_time": "2016-01-26T11:13:03", "url": "https://files.pythonhosted.org/packages/95/b1/07b5d6b01ff000c582cf09c921505d37a521d03851d9c08036c9e6a280f4/django-speedbar-0.2.2.tar.gz" } ] }