performance hotspot

The small part of a program where most of the time is spent, and where optimisation actually pays off.

In more detail

Optimising code outside the hotspot rarely makes a noticeable difference. Profilers find hotspots by measuring where time goes.

Example

In React it is usually one expensive component that renders too often; the Profiler ranked chart shows it.

Related terms

Taught in

References