diff --git a/benchmarks/README.md b/benchmarks/README.md index 6370fdb8..ab878247 100644 --- a/benchmarks/README.md +++ b/benchmarks/README.md @@ -44,7 +44,7 @@ transforms, but the explicit warmup makes the intent visible. Prerequisites: ```bash -pip install asv psutil +pip install ".[benchmark]" ``` Run benchmarks against the current environment: diff --git a/benchmarks/asv.conf.json b/benchmarks/asv.conf.json index 1e26be0d..19c9771c 100644 --- a/benchmarks/asv.conf.json +++ b/benchmarks/asv.conf.json @@ -19,6 +19,6 @@ "build_cache_size": 2, "default_benchmark_timeout": 500, "regressions_thresholds": { - ".*": 0.3 + ".*": 0.2 } } diff --git a/benchmarks/requirements.txt b/benchmarks/requirements.txt new file mode 100644 index 00000000..020002ad --- /dev/null +++ b/benchmarks/requirements.txt @@ -0,0 +1,2 @@ +psutil +scipy>=1.10 diff --git a/pyproject.toml b/pyproject.toml index ab9b8dc1..6bcf72ff 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -60,7 +60,7 @@ readme = {file = "README.md", content-type = "text/markdown"} requires-python = ">=3.10,<3.15" [project.optional-dependencies] -benchmark = ["asv>=0.6", "psutil"] +benchmark = ["asv>=0.6", "psutil", "scipy>=1.10"] scipy_interface = ["scipy>=1.10", "mkl-service"] test = ["pytest", "scipy>=1.10", "mkl-service"]