{ "info": { "author": "Stephen Mitchell", "author_email": "stephen@echodot.com", "bugtrack_url": null, "classifiers": [], "description": "django\\_bench\\_runner - Locate slow tests\n-----------------------------------------\n\n|Build Status| |Downloads|\n\nDjango Bench Runner is a drop-in enhancement of the default django test\nrunner that times how long it takes to run individual tests. It helps\ndetect tests that might need optimization.\n\nInstallation\n~~~~~~~~~~~~\n\n::\n\n pip install django-bench-runner\n\nIn settings.py, add:\n\n::\n\n TEST_RUNNER = 'django_bench_runner.runner.BenchRunner'\n\nUsage\n~~~~~\n\nAdd the ``-b`` (or ``--benchmark``) flag when running your tests.\n\nColorization\n~~~~~~~~~~~~\n\nTests that run under .5 seconds are colored green. The resulting tests\nare divvied into 3 groups. The fastest third (yellow), the middle third\n(magenta), and the slowest third (red). `Red tests do not mean the tests\nare necessarily bad or in critical need of a\nspeedup `__.\nIt is just a graphical way to identify the various times of the tests.\n\nExample Output\n~~~~~~~~~~~~~~\n\n::\n\n $ ./manage.py test core.tests.test_transfer_money -b --keepdb\n Using existing test database for alias 'default'...\n ..\n\n Test Runtime Percent\n -------------------------------------------------------------- --------- ---------\n\n core.tests.test_transfer_money.TestReleaseAmounts\n : test_wells_fargo 8.25052 47.81%\n : test_wells_fargo_exempt_from_prefunding 9.00663 52.19%\n --------------------------- ------- -------\n TestReleaseAmounts 17.25715 100.00%\n\n ----------------------------------------------------------------------\n Ran 2 tests in 17.262s\n\n OK\n\nDjango compatibility\n~~~~~~~~~~~~~~~~~~~~\n\nTested and working in Django 1.8 and 1.9.\n\nCredits\n \n\n*Special thanks Sergey Astanin for\n`tabulate `__*\n\n.. |Build Status| image:: https://secure.travis-ci.org/scuml/django-bench-runner.png?branch=master\n :target: http://travis-ci.org/scuml/django-bench-runner\n.. |Downloads| image:: https://img.shields.io/pypi/dw/django-bench-runner.svg\n :target: https://pypi.python.org/pypi/django-bench-runner", "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/scuml/django_bench_runner", "keywords": null, "license": "Copyright 2016 Stephen Mitchell\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.", "maintainer": null, "maintainer_email": null, "name": "django_bench_runner", "package_url": "https://pypi.org/project/django_bench_runner/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django_bench_runner/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://github.com/scuml/django_bench_runner" }, "release_url": "https://pypi.org/project/django_bench_runner/0.1.1/", "requires_dist": null, "requires_python": null, "summary": "Locate slow tests in your django project.", "version": "0.1.1" }, "last_serial": 1895077, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "0400d375ab429d568161ca8ea434201f", "sha256": "8f8e536b9c0240bb2c1709614522492e548e10da9df6c5f5f7cfbbf420656138" }, "downloads": -1, "filename": "django_bench_runner-0.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "0400d375ab429d568161ca8ea434201f", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 14036, "upload_time": "2016-01-08T15:25:00", "url": "https://files.pythonhosted.org/packages/75/d0/3cbf6aae0f247a1327d681991a7be6099697e1cc51e9fe0c916c7d2c8a5e/django_bench_runner-0.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "4f87a16208415d29b4264e1b0387e3b2", "sha256": "a76f188402032e9470416d2ff25b6eeb48fceadc393d87cd76cfa4468fee3ee3" }, "downloads": -1, "filename": "django_bench_runner-0.1.tar.gz", "has_sig": false, "md5_digest": "4f87a16208415d29b4264e1b0387e3b2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12881, "upload_time": "2016-01-08T15:24:55", "url": "https://files.pythonhosted.org/packages/52/0b/70307eba382ae58c0a641f4983ec8630ceb41f970d8737bdd119c55c2d4d/django_bench_runner-0.1.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "f4903acb5c4e5dd90789469a99b4dacc", "sha256": "17692abd4fb26f94f84318b6cf759028be0a425fdab6023d3eeb7df0b0f996d0" }, "downloads": -1, "filename": "django_bench_runner-0.1.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "f4903acb5c4e5dd90789469a99b4dacc", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 14181, "upload_time": "2016-01-08T15:26:56", "url": "https://files.pythonhosted.org/packages/0a/0f/cb3208df5091d8efeccc04b4d6c8ec287956c03fd386ca305ac7c9ae7ace/django_bench_runner-0.1.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "a6efa6c358cdaad8baca116cf8617802", "sha256": "d1cf8417bc343e7951a37b48f408f10ab21c4c896ab2a8bfebe4b86a3f43bc34" }, "downloads": -1, "filename": "django_bench_runner-0.1.1.tar.gz", "has_sig": false, "md5_digest": "a6efa6c358cdaad8baca116cf8617802", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13076, "upload_time": "2016-01-08T15:26:50", "url": "https://files.pythonhosted.org/packages/90/f2/2bb2b42c90b778306a3a09f08826a91542c818f86991ba202b8bda843add/django_bench_runner-0.1.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "f4903acb5c4e5dd90789469a99b4dacc", "sha256": "17692abd4fb26f94f84318b6cf759028be0a425fdab6023d3eeb7df0b0f996d0" }, "downloads": -1, "filename": "django_bench_runner-0.1.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "f4903acb5c4e5dd90789469a99b4dacc", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 14181, "upload_time": "2016-01-08T15:26:56", "url": "https://files.pythonhosted.org/packages/0a/0f/cb3208df5091d8efeccc04b4d6c8ec287956c03fd386ca305ac7c9ae7ace/django_bench_runner-0.1.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "a6efa6c358cdaad8baca116cf8617802", "sha256": "d1cf8417bc343e7951a37b48f408f10ab21c4c896ab2a8bfebe4b86a3f43bc34" }, "downloads": -1, "filename": "django_bench_runner-0.1.1.tar.gz", "has_sig": false, "md5_digest": "a6efa6c358cdaad8baca116cf8617802", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13076, "upload_time": "2016-01-08T15:26:50", "url": "https://files.pythonhosted.org/packages/90/f2/2bb2b42c90b778306a3a09f08826a91542c818f86991ba202b8bda843add/django_bench_runner-0.1.1.tar.gz" } ] }