pytest-benchmark is a pytest plugin used to collect time benchmarks for single functions. Use the tag if your question is related to the "benchmark" fixture in tests written for pytest..
pytest-benchmark
is a pytest plugin which allows you to collect execution time benchmarks like mean execution time or standard deviation for single functions. The functionality is provided by the benchmark
fixture, which can be called from a test with a function parameter and outputs benchmarks in textual or histogram form.
Reference: