Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Improve slow Django test suites through measured profiling, safe test settings, database and migration tuning, parallel execution, test-data cleanup, and CI workflow changes. Use when Django or pytest-django tests are slow, CI test jobs take too long, database setup dominates runtime, or a user asks for a prioritized speedup plan rather than isolated test fixes.
.claude/skills/hashgraph-online-django-test-performance/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-14 | ✗→✓ | ▲ Improved | -4% | 0% |
| case-01 | ✗→✓ | ▲ Improved | 20% | 0% |
| case-08 | ✗→✓ | ▲ Improved | 11% | 0% |
| case-16 | ✗→✓ | ▲ Improved | -11% | 0% |
| case-20 | ✗→✓ | ▲ Improved | 3% | 0% |
Use this as the orchestration skill for speeding up a Django test suite. Do not start by changing settings blindly; first measure the suite and then pick the smallest safe optimization with a repeatable verification command.
django-test-profiling before changing behavior.setUpTestData.DEBUG = False in tests.django-test-data for factory, fixture, setUpTestData, TestCase, and integration-vs-unit decisions.--keepdb or --reuse-db for local repeat runs.django-test-parallelization for order isolation, shared resources, and worker configuration.bashtime python manage.py test python manage.py test --timing python manage.py test --keepdb time pytest pytest --durations 20 pytest --reuse-db pytest --create-db
TESTING = True branches in application code; use explicit settings and test helpers.| Situation | Use | |-----------|-----| | Need timings, slow-test lists, flame graphs, or cProfile output | django-test-profiling | | Enabling --parallel, pytest-xdist, or debugging random failures | django-test-parallelization | | Fixture bloat, factories, setUpTestData, TestCase class choices | django-test-data | | Mocking settings, HTTP, time, output, or command input safely | django-targeted-mocking | | CI cache, split jobs, slow markers, runner scale | django-ci-test-optimization |
Before finishing, provide:
Other measured skills in the registry, with their headline benchmark lift.