Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

django-test-profiling

Skill by hashgraph-online

Profiles slow Django test suites using Django's test runner, pytest-django, shell timing, py-spy and cProfile. It is for developers who need to find the slowest tests before optimizing.

  • Score 73
  • 1.6k stars
  • Apache-2.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install django-test-profiling

Built from the published package, never by AI.

git clone --depth 1 https://github.com/hashgraph-online/awesome-codex-plugins /tmp/awesome-codex-plugins && mkdir -p ~/.claude/skills && cp -r /tmp/awesome-codex-plugins/plugins/LVTD-LLC/skills/skills/django-test-profiling ~/.claude/skills/django-test-profiling

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install django-test-profiling in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This agent skill helps an assistant measure and profile slow Django test suites before any optimization work. It starts with a full wall-clock baseline using shell timing, then separates framework phases with Django's --timing flag or pytest --durations. It finds the slowest tests and uses py-spy for a low-overhead whole-run view or cProfile for detailed Python call data.

The skill ends with a ranked action list that names whether startup, database setup, fixtures, query count, I/O or a specific test body is the main cost. It can hand off to related skills for performance, test data or parallelization. The source is written for developers working on Django projects with slow tests, unclear runtime bottlenecks or CI timing problems. It is compatible with Codex, Claude Code and other Agent Skills-compatible clients.

Written from the project's SKILL.md and checked against it.

What it can do

  • Wall-clock baselineCaptures a full shell timing baseline including startup, discovery and database setup.
  • Phase separationUses Django's --timing flag or pytest --durations to split database setup and teardown from test time.
  • Slowest test searchFinds the slowest tests with pytest --durations 20 or a slow-test plugin for Django's runner.
  • Profiling with py-spy and cProfileRuns py-spy for a whole-run view and cProfile for exhaustive Python call data.
  • Ranked action listTurns profiling results into the top 3 practical next actions ordered by expected impact.

What you need

  • Python
  • A Django project with a test suite
  • py-spy, for sampling profiles

Try asking

  • Find the slowest tests in my Django project and rank them
  • Profile my Django test suite with py-spy and summarize the bottleneck
  • Measure the baseline runtime of my Django tests with shell timing

Good to know

  • Sampling profiles such as py-spy may not catch every short hot path.
  • Django runner timing and pytest timing do not measure identical phases.
  • Unsorted cProfile output can lead to chasing import internals.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: plugins/LVTD-LLC/skills/skills/django-test-profiling/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md3 KB
  • references/profiler-commands.md2 KB

Alternatives to django-test-profiling

All alternatives →
openclaw-github-repo-commandersickn33
94

Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.

AAA Skill 50k
gradiogradio-app
94

Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.

AAA Skill 44k
hig-components-menussickn33
94

Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.

AAA Skill 50k
fastapi-templateswshobson
94

Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.

AAA Skill 43k
appfunctionsandroid
94

Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.

AAA Skill 11k
agent-qa-authoringsickn33
94

Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

django-test-profiling: common questions

What does django-test-profiling measure in a Django test suite?

It measures full wall-clock runtime with shell timing, database setup and teardown, and the slowest individual tests. It can also profile whole runs with py-spy or cProfile.

Should I trust the final 'ran in X seconds' line from the test runner?

No. The skill says that line is not the complete runtime, so shell timing is treated as the authoritative user-visible duration.

Does this skill change my tests or code for speed?

The source describes it as a step to take before changing a test suite for speed. It focuses on measurement and ranking next actions, and hands optimization work to related skills.

How do I install django-test-profiling?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is django-test-profiling free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is django-test-profiling safe to use?

It scores 73 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to django-test-profiling?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

django-test-profiling Install

Add to stack

Loading.