Profiling Guide

Use when profiling application performance, reading a flame graph, benchmarking code, identifying bottlenecks, measuring CPU usage, analyzing memory allocation, or profiling I/O and database queries. Covers profiling methodology, cProfile and how to interpret its output, py-spy sampling, line-level profiling, tracemalloc and memory_profiler, query and network I/O profiling, reading and generating flame graphs, microbenchmarking with timeit, load testing, and a decision tree for picking a profiler. Applies to measurement and diagnosis; to fix what the profile reveals, use optimization-patterns.

AeyeOps Updated

File contents

AeyeOps/aeo-skill-marketplace/tree/main/aeo-performance/skills/profiling-guide commit 6b944d531f

Frequently asked questions

npx skillmds@latest add aeyeops/profiling-guide