Profiling

Noun · Development

Definitions

  1. Measuring the resource consumption (CPU time, memory, I/O, function call counts) of a program to identify performance bottlenecks. CPU profilers show which functions consume the most time; memory profilers find leaks and excessive allocation. Tools: pprof (Go), py-spy (Python), perf (Linux), Chrome DevTools (JavaScript). Always profile before optimizing.

    In plain English: Measuring exactly where your program spends its time and memory, so you optimize the right things.

    Example: "The profiler shows 60% of CPU time is in JSON serialization — optimize that one function and the whole service gets twice as fast."

Related Terms