{"library":"pytest-codspeed","type":"library","category":null,"description":"pytest-codspeed is a pytest plugin that integrates performance benchmarking into your Python test suite. It allows developers to measure and track the performance of their code, providing support for CPU simulation, wall-time, and memory usage measurements. The library is actively maintained with frequent releases, currently at version 4.3.0, and aims to provide highly consistent benchmark results, especially when run in CI environments.","language":"python","status":"active","version":"4.3.0","tags":["pytest","benchmarking","performance","CI","profiling","python-performance"],"install":[{"cmd":"pip install pytest-codspeed","imports":["import pytest\n\n@pytest.mark.benchmark\ndef test_my_function(): ...","def test_my_function(benchmark):\n    result = benchmark(lambda: my_code_to_measure())\n    assert result is not None"]}],"homepage":"https://codspeed.io/","github":"https://github.com/CodSpeedHQ/pytest-codspeed","docs":"https://codspeed.io/docs/reference/pytest-codspeed","changelog":null,"pypi":"https://pypi.org/project/pytest-codspeed/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"3.10–3.9","success_rate":100,"avg_install_s":3.2,"avg_import_s":0.46,"wheel_type":"wheel"},"url":"https://checklist.day/v1/registry/pytest-codspeed/compatibility"},"provenance":{"verified_status":"passing","verified_at":"Sun Jun 28","last_verified":"Sun Jun 28","next_check":"Tue Jul 28","install_tag":null}}