python-performance-optimization from hermeticormus/claude-code-game-development is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
Profile and optimize Python code using cProfile, memory profilers, and performance best practices. Use when debugging slow Python code, optimizing bottlenecks, or improving application performance.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# Python Performance Optimization
Comprehensive guide to profiling, analyzing, and optimizing Python code for better performance, including CPU profiling, memory optimization, and implementation best practices.
## When to Use This Skill
- Identifying performance bottlenecks in Python applications
- Reducing application latency and response times
- Optimizing CPU-intensive operations
- Reducing memory consumption and memory leaks
- Improving database query performance
- Optimizing I/O operations
- Speeding up data processing pipelines
- Implementing high-performance algorithms
- Profiling production applications
## Core Concepts
### 1. Profiling Types
- **CPU Profiling**: Identify time-consuming functions
- **Memory Profiling**: Track memory allocation and leaks
- **Line Profiling**: Profile at line-by-line granularity
- **Call Graph**: Visualize function call relationships
### 2. Performance Metrics
- **Execution Time**: How long operations take
- **Memory Usage**: Peak and average memory consumption
- **CPU Utilization**: Processor usage patterns
- **I/O Wait**: Time spent on I/O operations
### 3. Optimization Strategies
…
The line at the top of this page pins the label git:20251120.50bf83d, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
GET https://markdownregistry.com/api/v1/artifacts/art_56khtxtj32yoebv5
GET https://markdownregistry.com/api/v1/resolve?ref=hermeticormus/claude-code-game-development/python-performance-optimization
GET https://markdownregistry.com/api/v1/blob/66c3fd00bf4fc2534316e52d0d60fe5f41469dc7076ef8c72d8550f619614db1
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
hermeticormus/claude-code-game-development · .grok/skills/verify-claude-code-game-development/SKILL.md · Install the claude-code-game-development plugin pack the way a user does, into a clean Claude Code config and a clean…
hermeticormus/claude-code-game-development · plugins/audio-systems/skills/audio-patterns/SKILL.md · Game audio code patterns: a Godot bus layout, an audio player pool, randomized one-shot playback, vertical-remix…
hermeticormus/claude-code-game-development · plugins/backend-development/skills/api-design-principles/SKILL.md · Master REST and GraphQL API design principles to build intuitive, scalable, and maintainable APIs that delight…
hermeticormus/claude-code-game-development · plugins/backend-development/skills/temporal-python-testing/SKILL.md · Test Temporal workflows with pytest, time-skipping, and mocking strategies. Covers unit testing, integration testing…
hermeticormus/claude-code-game-development · plugins/blockchain-web3/skills/defi-protocol-templates/SKILL.md · Implement DeFi protocols with production-ready templates for staking, AMMs, governance, and lending systems. Use when…
wshobson/agents · plugins/python-development/skills/python-performance-optimization/SKILL.md · Profile and optimize Python code using cProfile, memory profilers, and performance best practices. Use when debugging…
dicklesworthstone/pi_agent_rust · tests/ext_conformance/artifacts/agents-wshobson/python-development/skills/python-performance-optimization/SKILL.md · Profile and optimize Python code using cProfile, memory profilers, and performance best practices. Use when debugging…
hermeticormus/libreuiux-claude-code · plugins/python-development/skills/python-performance-optimization/SKILL.md · Profile and optimize Python code using cProfile, memory profilers, and performance best practices. Use when debugging…
rudycity/superagent · .agents/skills/python-performance-optimization/SKILL.md · Profile and optimize Python code using cProfile, memory profilers, and performance best practices. Use when debugging…