profiling

Measuring where a program spends its time and memory while it runs a representative operation.

In more detail

Profile before changing code so you optimise the real bottleneck, such as database time, rather than a guess. Profilers can sample the running program or instrument every call, trading accuracy for overhead.

Related terms

Taught in

References