mikrobenchmarking
Mikrobenchmarking, also called microbenchmarking in English, is the practice of measuring the performance of very small units of code in isolation from larger systems. It aims to quantify the cost of fundamental operations—such as a single arithmetic operation, a memory access, or a function call—and to compare alternative implementations, compiler optimizations, or language features. Because the work is tiny, results are highly sensitive to the execution environment and measurement method.
Effective microbenchmarking requires careful experimental design. Writers perform warmup iterations to stabilize runtimes, then execute many
Common tools provide microbenchmarking harnesses for reproducibility. Examples include Google Benchmark for C++, JMH for Java,
Limitations include the risk that microbenchmarks do not reflect real workloads, memory traffic, or application throughput.