--- id: django-slowtests version: "1.1.1" license: MIT license_treatment: permissive maintenance: abandoned --- # django-slowtests — locate your slowest tests License: permissive · Maintenance: abandoned · Downloads: 110.9K/mo ## What it is and what it does django-slowtests is a Django test runner plugin that wraps the standard test runner to automatically measure and report execution time for each test. After your test suite completes, it displays a ranked list of the slowest tests, optionally filtered by a configurable threshold. You can save the report to a JSON file for further analysis. The package has no runtime dependencies beyond Django itself and integrates by replacing Django's TEST_RUNNER setting with a custom runner class. It was designed for Django 1.6–1.11 and Python 2.7 and 3.6, but has received no updates since 2019 and is no longer actively maintained. Use it for: - Identify which tests are consuming the most time during a test run to prioritize optimization efforts. - Export test performance data to JSON for trend analysis or integration with CI/CD dashboards. - Set a threshold to focus on tests exceeding a specific duration, filtering out fast tests from reports. - Diagnose performance regressions by comparing slow test reports across different versions or branches. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Integrates with Django's test runner to identify and report the slowest tests in your suite, helping you spot performance bottlenecks during development. No. The package is abandoned (last release 2019-02-12, no updates for 2740 days) and compatibility with modern Django and Python versions is unverified. Modern Django includes built-in test timing features and third-party test runners have better maintenance. Use only if you are locked to Django 1.6–1.11 and Python 2.7 or 3.6. ## Install pip install django-slowtests uv add django-slowtests poetry add django-slowtests ## Installing django-slowtests Before you install: High install friction due to lack of runtime dependencies but the package is abandoned as of 2019-02-12 with no updates for 2740 days. Last commit was 2021-11-23, but the project shows no active maintenance. Compatibility with modern Django and Python versions is unverified. License in practice: MIT license is permissive and poses no restrictions on use, modification, or distribution in your own projects. Quickstart: pip install django-slowtests # In Django settings.py: TEST_RUNNER = 'django_slowtests.testrunner.DiscoverSlowestTestsRunner' NUM_SLOW_TESTS = 10 SLOW_TEST_THRESHOLD_MS = 200 # Run tests: python manage.py test Requires Django and Python; compatibility with versions released after 2019 is not documented or verified. Verify before relying: - Whether the package works with Django versions released after 1.11 (last tested version in docs) - Whether the package is compatible with Python 3.7+ (docs only mention up to 3.6) - Whether the package's test runner integrates correctly with modern Django test discovery ## Package facts - License: MIT (permissive) - Python support: unspecified - Install friction: high - Maintenance: abandoned - Downloads: 110.9K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags django test performance profiling, identify slow tests django, test execution time reporting, django test runner slowest tests, find performance bottlenecks tests, test duration analysis django, django-testing, performance-profiling, abandoned [View on SkillFed](https://skillfed.io/packages/django-slowtests) · [View on PyPI](https://pypi.org/project/django-slowtests/)