Skip to content

Commit

Permalink
Feature/benchmark (#54)
Browse files Browse the repository at this point in the history
* Initial benchmarking of /fields and /summary endpoints

* Rename benchmark varying fields to include aoi size of 10 degrees and exclude benchmark from CI

* Skip benchmarks in CI

* Add fixture for benchmark configurations
  • Loading branch information
zacdezgeo authored Sep 12, 2024
1 parent d3a8713 commit f2fe8e2
Show file tree
Hide file tree
Showing 6 changed files with 422 additions and 296 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
- name: Run tests
working-directory: ./space2stats_api/src
run: |
poetry run python -m pytest tests
poetry run python -m pytest --benchmark-skip tests
env:
PGHOST: localhost
PGPORT: 5432
Expand Down
4 changes: 3 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ repos:
rev: v1.11.1
hooks:
- id: mypy
args: [--ignore-missing-imports]
args: [--ignore-missing-imports] # You can adjust this as needed
files: ^space2stats_api/
exclude: ^space2stats/env/
additional_dependencies:
- types-requests
Loading

0 comments on commit f2fe8e2

Please sign in to comment.