{"library":"pytest-benchmark","type":"library","category":null,"description":"pytest-benchmark is a plugin for pytest that provides a `benchmark` fixture for benchmarking code. It automatically groups tests into rounds calibrated to the chosen timer, offering sensible defaults and automatic calibration for micro-benchmarks. As of version 5.2.3, it is actively maintained with regular major releases approximately once a year and several minor/patch releases.","language":"python","status":"active","version":"5.2.3","tags":["pytest","benchmarking","performance","testing","fixture"],"install":[{"cmd":"pip install pytest-benchmark","imports":["def test_my_function(benchmark):\n    # benchmark is a pytest fixture, no explicit import needed"]},{"cmd":"pip install 'pytest-benchmark[histogram]'","imports":[]}],"homepage":null,"github":"https://github.com/ionelmc/pytest-benchmark","docs":"https://pytest-benchmark.readthedocs.io/","changelog":"https://pytest-benchmark.readthedocs.io/en/latest/changelog.html","pypi":"https://pypi.org/project/pytest-benchmark/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"3.10–3.9","success_rate":50,"avg_install_s":3,"avg_import_s":null,"wheel_type":"wheel"},"url":"https://checklist.day/v1/registry/pytest-benchmark/compatibility"},"provenance":{"verified_status":"skip","verified_at":"Sun Jun 28","last_verified":"Sun Jun 28","next_check":"Sun Jul 05","install_tag":"stale"}}