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
- bottleneck — The single most constrained part of a system or process, which limits how fast the whole thing can go.
- latency — The time between asking for something and getting the answer back.
Taught in
- Performance Optimization — Modern API Architecture: REST, GraphQL & gRPC