Install any skill in seconds. Free to start, no credit card required.
Get Started Free →dokhacgiakhoa/python-performance-optimization
Profile and optimize Python code using cProfile, memory profilers, and performance best practices.
Passed 9 of 22 test cases with the skill, and 7 of 22 without it.
3 fixed6 passed either way12 still failing1 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 3 test cases the skill fixed. Same model, same prompt, with and without the skill.
Our Python web application renders a page showing 100 blog posts and their authors. Monitoring shows 101 SQL queries executed for a single page load, causing 1.5 second latency. How should we resolve this performance bottleneck in the database query layer?
| Checked | Without skill | With skill |
|---|---|---|
| Recommends eager loading using select_related. | Passed | Passed |
| Includes verification steps to measure database query count. | Missed | Passed |
The instructions your model reads when the skill loads.
Comprehensive guide to profiling, analyzing, and optimizing Python code for better performance, including CPU profiling, memory optimization, and implementation best practices.
resources/implementation-playbook.md.resources/implementation-playbook.md for detailed patterns and examples.test cases passed, vs 7 / 22 without
Published skills whose descriptions closely match this one, with their headline benchmark lift.
More skills from the same source and nearby in the registry, with their headline benchmark lift.