Description
Provides a library for writing small, repeatable performance benchmarks in code. Developers use it to measure functions, compare implementations, and detect performance regressions with controlled test cases.
Use it when a project needs benchmark code built into its test or development workflow. Results still need careful interpretation because hardware, compiler options, and system load can affect timings.