Repository navigation
Re-introduce Numba to face area computations - #794
Conversation
|
Benchmark Before:
Benchmark After (the changes in this PR):
|
|
Is this codecov bot new? |
|
Thanks, I was guessing this to be the case. Your plots of speedup (in PR #748 ) didn't cover area calculation. |
Yeah, they were isolated examples. |
rajeeja
left a comment
There was a problem hiding this comment.
Seems to be working.
Thanks for putting this together.
Closes #793
The removal of Numba in #748 severely degraded the performance of the face area computations. The removal was initially due to the removal of Numba in favor of vectorization with the coordinate conversion functions (since _normalize_xyz can't use numba in it's current state).
This performance can be observed in our ASV benchmark.
However,
_lonlat_rad_to_xyz(), which is used by the face area computations, can be optimized using Numba.