-
Notifications
You must be signed in to change notification settings - Fork 284
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use custom tokenization function for NetCDFDataProxy objects #6231
base: main
Are you sure you want to change the base?
Use custom tokenization function for NetCDFDataProxy objects #6231
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #6231 +/- ##
=======================================
Coverage 89.83% 89.83%
=======================================
Files 88 88
Lines 23315 23317 +2
Branches 4338 4338
=======================================
+ Hits 20945 20947 +2
Misses 1644 1644
Partials 726 726 ☔ View full report in Codecov by Sentry. |
⏱️ Performance Benchmark Report: 3fc5893Performance shifts
Full benchmark results
Generated by GHA run |
Looks really neat + I don't doubt you're right this is worth it for some cases. |
⏱️ Performance Benchmark Report: 23e9462Performance shifts
Full benchmark results
Generated by GHA run |
The benchmark I added just shows:
On my laptop the timings are a bit more positive, but maybe this isn't really worth the effort. Shall I just close this? |
As discussed at the peloton meeting, this is probably useful after all. The benchmark is likely slower in CI than on my laptop because it has different hardware and therefore spends more time on I/O, reducing the relative speedup of this change on that particular machine. |
🚀 Pull Request
Description
Use custom tokenization function for NetCDFDataProxy objects. This speeds up loading small NetCDF files. With the multiple_cubes.nc file from #6223, the speedup is 10 to 20 %, though in the benchmarks below it is not really significant.
Consult Iris pull request check list
Add any of the below labels to trigger actions on this PR: