Skip to content

ASV Benchmarking Pull Request Workflow - #2

Closed
philipc2 wants to merge 61 commits into
mainfrom
asv-pr-ci
Closed

philipc2 wants to merge 61 commits into
mainfrom
asv-pr-ci

Conversation

@philipc2

@philipc2 philipc2 commented Jul 1, 2024 •

Copy link
Copy Markdown
Owner

An example of the ASV Benchmarking PR workflow, which can be triggered by adding the run-benchmark label. The ASV Benchmarking (PR) action will by default be skipped.

image

The action can be re-queued by removing and adding the run-benchmark label

image

Once the workflow is completed (or run a subsequent time), the results are posted as a comment using a Github bot.

New benchmarks that are added as part of a PR are also run, and will fail if the main branch doesn't support the functionality, which is expected.

@philipc2 philipc2 closed this Jul 2, 2024
@philipc2 philipc2 reopened this Jul 2, 2024
@philipc2 philipc2 closed this Jul 3, 2024
philipc2 added a commit that referenced this pull request Mar 11, 2025
* Initial work

* Switched to projection method

* Updated test cases, fixed spherical bug

* Added test cases

* Increased performance

* Update test_geometry.py

* updated api

* Updated detection method

* Implemented new ray casting method

* Added node crossing and point on edge checks

* Added docstrings, test case

* Update test_geometry.py

* Fixed point conversion bug

* Update geometry.py

* Converted functions to numba, updated tests accordingly

* Added max face radius function

* Added baseplate code for polygon containing code

* Added reference point setter

* Updated to use constructed edges

* Debugging

* Added unique face test cases

* Fixed test cases, changed to `point_in_face`

* Convert face containing point to use updated function

* Added inverse indices, complete get_faces_containing_point

* Updated to use inverse face indices

* Fixed failing tests

* Moved function location

* Fixed circular import

* Update grid.py

* updated comment

* updated max_face_radius to handle variable face sizes

* updated haversine and added test

* Added benchmark, made max_face_radius attribute for better performance

* Fixed benchmark

* added property, update benchmark

* updated benchmark

* CI debugging

* Fixed indexing problem

* added normalize to ensure consistency

* Add spherical support for `faces_containing_point`, added docs, api, tests

* Fixed test cases

* Fixed test attempt #2

* Fixed error with improper coordinates

* Updated method of subsetting and test case

* pre-commit

* fixed tests

* Update test_grid.py

* Added notebook

* Update point_in_face.ipynb

* Added tests, updated numba, fixed bug

* Addressed review comments

* Added error tolerance for points close to nodes

* turned numba on

* Fixed numba issues, updated error tolerance

* Update uxarray/grid/grid.py

Co-authored-by: Philip Chmielowiec <[email protected]>

* Update uxarray/grid/grid.py

Co-authored-by: Philip Chmielowiec <[email protected]>

* Update uxarray/grid/grid.py

Co-authored-by: Philip Chmielowiec <[email protected]>

* Updated warning and docstring

* Added better comments

* Updated docstrings

* Updated method to take both coordinate systems, updated tests and docstrings

* Update docs/userguide.rst

Co-authored-by: Philip Chmielowiec <[email protected]>

* Added examples to docstring

* Update docs/userguide.rst

Co-authored-by: Philip Chmielowiec <[email protected]>

* update example in docstring

* Update grid.py

* Update uxarray/grid/grid.py

Co-authored-by: Philip Chmielowiec <[email protected]>

---------

Co-authored-by: Philip Chmielowiec <[email protected]>
Co-authored-by: Rajeev Jain <[email protected]>
Co-authored-by: Philip Chmielowiec <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant