performance-assassin_lc_v1

Profile Python modules for CPU hotspots, memory leaks, and slow paths.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/MilanKra13/python-enterprise-template --skill performance-assassin-lc-v1
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: performance-assassin_lc_v1
Source: https://github.com/MilanKra13/python-enterprise-template/tree/main/%7B%7Bcookiecutter.project_slug%7D%7D/.claude/skills/performance-assassin_lc_v1
Command: npx skills add https://github.com/MilanKra13/python-enterprise-template --skill performance-assassin-lc-v1

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Performance issues slow development cycles and hide regressions.

Core Features & Use Cases

  • End-to-end performance audits across CPU, memory, and scalability hotspots during development.
  • Multi-phase profiling including quick profiling, micro-benchmarks, memory analysis, and load testing with deterministic tooling.
  • Use cases span from identifying hotspots in critical modules to validating performance improvements before shipping.

Quick Start

Run a quick profile on your codebase to identify CPU and memory hotspots and begin iterative optimization.

Frequently Asked Questions about performance-assassin_lc_v1

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I find CPU hotspots and memory leaks in a Python module?

Profile your Python module using deterministic tooling to locate CPU hotspots and memory leaks during development. Apply multi-phase profiling across module-level analysis, micro-benchmarks, and memory audits to identify slow paths.

What is the best way to run micro-benchmarks for Python code?

Run micro-benchmarks using pytest-benchmark to validate performance improvements before shipping. This approach applies deterministic tests to measure and audit slow paths within your development cycle iteratively.

Do I need scalene and pyinstrument set up in my project for memory profiling?

Yes, you need scalene, pyinstrument, and memory_profiler set up in your project. The profiling workflow requires these deterministic tools, alongside tracemalloc and optional memray, to execute end-to-end memory analysis.

Can I use tracemalloc and memory_profiler for module-level performance audits?

Yes, you can use tracemalloc and memory_profiler for module-level performance audits. They enable multi-phase memory analysis to locate memory leaks and scalability hotspots during development before shipping code.

How does load testing identify slow paths and performance regressions?

Load testing applies stress-testing to identify slow paths and hidden performance regressions. By applying deterministic tooling and tests, it validates performance improvements and exposes scalability hotspots across critical modules.