Skip to content

Commit 3354ce4

Browse files
committed
Add benchmarking script
- Fold CI scripts into local benchmark script - Remove CI workflow - Use importlib for pytest for identical file names across different test modules
1 parent 2b2dbcf commit 3354ce4

7 files changed

Lines changed: 362 additions & 294 deletions

File tree

.github/scripts/compare_benchmarks.py

Lines changed: 0 additions & 177 deletions
This file was deleted.

.github/scripts/run_benchmarks.py

Lines changed: 0 additions & 27 deletions
This file was deleted.

.github/workflows/benchmark.yaml

Lines changed: 0 additions & 89 deletions
This file was deleted.

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ htmlcov
2626

2727
# Local data and scratch
2828
.scratch
29+
benchmarks/
2930

3031
# Local virtual environment
3132
.venv

pyproject.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ pybids = ["pandas>=2.0.0"]
3737
[dependency-groups]
3838
dev = [
3939
"pdoc>=16.0.0",
40+
"polars>=1.40.1",
4041
"pre-commit>=4.6.0",
4142
"pytest>=9.0.3",
4243
"pytest-benchmark>=5.2.3",
@@ -69,6 +70,7 @@ lint.extend-select = ["I"]
6970
[tool.pytest.ini_options]
7071
log_cli = true
7172
log_cli_level = "INFO"
73+
addopts = "--import-mode=importlib"
7274
markers = [
7375
"benchmark: Tests used for benchmarking",
7476
"cloud: Tests requiring cloud group dependencies",

0 commit comments

Comments
 (0)