Skip to content

Commit

Permalink
Add checks/limits for time series request size!
Browse files Browse the repository at this point in the history
  • Loading branch information
hrodmn committed Dec 20, 2024
1 parent 8f15dd5 commit ef41743
Show file tree
Hide file tree
Showing 16 changed files with 878 additions and 861 deletions.
10 changes: 0 additions & 10 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,16 +46,6 @@ Record the new responses and commit them to the repository.
uv run pytest -v -s --record-mode new_episodes
```

## Benchmarks

`tests/test_timeseries_benchmark.py` is used to evaluate the performance and limits of `/timeseries` requests.

To run the benchmarks:

```bash
uv run pytest -vv --benchmark-only --benchmark-json benchmark.json
```

## Documentation

The documentation is generated using `mkdocs` and gets built and deployed to Github Pages when new tags are released and on pushes to the `develop` branch.
Expand Down
4 changes: 1 addition & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ dev = [
"pre-commit>=4.0.1",
"pytest>=8.3.3",
"pytest-asyncio>=0.24.0",
"pytest-benchmark>=5.1.0",
"pytest-cov>=5.0.0",
"pytest-mock>=3.14.0",
"pytest-recording>=0.13.2",
Expand All @@ -71,7 +70,6 @@ dev = [
"mike>=2.1.3",
"ipython==8.28.0",
"markdown-callouts>=0.4.0",
"pandas>=2.2.3",
"plotly>=5.24.1",
"ipywidgets>=8.1.5",
]
Expand Down Expand Up @@ -143,6 +141,6 @@ filterwarnings = [
"ignore::rasterio.errors.NotGeoreferencedWarning",
]
markers = "vcr: records network activity"
addopts = "--benchmark-skip -Werror --cov=titiler.cmr --cov-report=term-missing --cov-report=xml"
addopts = "-Werror --cov=titiler.cmr --cov-report=term-missing --cov-report=xml"


Loading

0 comments on commit ef41743

Please sign in to comment.