Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What I Changed
/fields
and/summary
endpoints to evaluate the performance of the API with varying AOI sizes and field counts.setup_benchmark_env
) for setting up environment variables required for the benchmark tests.How I Did It
setup_benchmark_env
fixture to set the necessary environment variables (e.g.,BASE_URL
,FIELDS_ENDPOINT
,SUMMARY_ENDPOINT
, andFIELD
) for the benchmark tests.test_benchmark_summary_varying_aoi
andtest_benchmark_summary_aoi_10_varying_fields
) to handle varying areas and field counts, respectively.Other Notes
Closes #50
Output from
python -m pytest tests/test_benchmark.py --benchmark-histogram=my_benchmark_results
: