percall
Percall, in performance engineering, refers to the time or resources required to perform a single invocation of a function or subroutine, excluding the actual work done by the function body. It is a measure of per-call overhead and is used to understand the fixed cost associated with calling a function, regardless of input size.
Per-call overhead arises from several components of the calling process. These include the calling convention and
The magnitude of per-call overhead varies with language, compiler optimizations, inlining decisions, and hardware. In statically
Optimization often targets reducing per-call overhead, with caveats. Inlining eliminates call overhead at the expense of
See also: function call overhead, inlining, calling convention, tail call optimization, microbenchmarking.