# fixture 'benchmark' not found

- **ID:** `python/pytest-benchmark-no-plugin`
- **Domain:** python
- **Category:** install_error
- **Verification:** ai_generated
- **Fix Rate:** 80%

## Root Cause

The `pytest-benchmark` plugin is not installed or not enabled, so the `benchmark` fixture is unavailable.

## Version Compatibility

| Version | Status | Introduced | Deprecated |
|---------|--------|------------|------------|
| 4.x | active | — | — |

## Workarounds

1. **** (95% success)
   ```
   pip install pytest-benchmark
pytest --benchmark-only
   ```
2. **** (90% success)
   ```
   echo 'pytest-benchmark' >> requirements-dev.txt
pip install -r requirements-dev.txt
   ```

## Dead Ends

- **** — Loses all benchmarking features (statistics, comparison, JSON output). (80% fail)
- **** — Fails if the plugin is not installed; the error becomes `ModuleNotFoundError`. (90% fail)
