Skip to content

Commit 747fcf7

Browse files
committed
docs: add STRESS_TEST_MODE options to benchmark help text
1 parent 0159eca commit 747fcf7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ build: deps-uv sync protogen ## Builds release package
6161
test: deps-uv sync ## Run tests (use PYTEST_ARGS to pass options, e.g., make test PYTEST_ARGS="-v tests/test_connect.py")
6262
bash scripts/local-test.sh $(PYTEST_ARGS)
6363

64-
benchmark: ## Run benchmarks
64+
benchmark: ## Run benchmarks (STRESS_TEST_MODE: quick|moderate|full, default: moderate)
6565
$(MAKE) test STRESS_TEST_MODE=moderate PYTEST_ARGS="--benchmark-only --benchmark-json=benchmark-results.json --benchmark-histogram=benchmark-histogram -v"
6666

6767
publish: clean build ## Publish a new release to PyPi (requires UV_PUBLISH_USERNAME and UV_PUBLISH_PASSWORD to be set)

tests/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ def stress_config() -> dict[str, Any]:
9191
def _downloaded_data_fixture_path(name: str) -> Path:
9292
"""Download a data fixture file if it doesn't exist locally."""
9393
path = DATA_FIXTURE_DIR / name
94-
if not path.exists() or path.stat().st_size == 0:run
94+
if not path.exists() or path.stat().st_size == 0:
9595
url = DATA_FIXTURE_BASE_URL + name
9696
path.parent.mkdir(parents=True, exist_ok=True)
9797
logger.info("Downloading %s from %s", name, url)

0 commit comments

Comments
 (0)