Optimizing Python Performance

Optimizes Python library performance through profiling (cProfile, PyInstrument), memory analysis (memray, tracemalloc), benchmarking (pytest-benchmark), and optimization strategies. Use when analyzing performance bottlenecks, finding memory leaks, or setting up performance regression testing.

wdm0006 3f5a14f 3 files · 16.4 KB Updated

File contents

wdm0006/python-skills/tree/main/skills/python/performance commit 3f5a14f2cc

Frequently asked questions

npx skillmds@latest add wdm0006/optimizing-python-performance