-
Notifications
You must be signed in to change notification settings - Fork 18
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
Shortcut for saving small cubes #210
Conversation
A reproducer is using YAXArrays, Zarr
data = rand(Float32,1440,720)
ar = YAXArray([RangeAxis("longitude",-179.875:0.25:179.875), RangeAxis("latitude",89.875:-0.25:-89.875)],data)
savecube(ar, "./output.zarr",overwrite=true) which takes embarassing 30 minutes without this PR |
Benchmark resultJudge resultBenchmark Report for /home/runner/work/YAXArrays.jl/YAXArrays.jlJob Properties
ResultsA ratio greater than
Benchmark Group ListHere's a list of all the benchmark groups executed by this job:
Julia versioninfoTarget
Baseline
Target resultBenchmark Report for /home/runner/work/YAXArrays.jl/YAXArrays.jlJob Properties
ResultsBelow is a table of this job's results, obtained by running the benchmarks.
Benchmark Group ListHere's a list of all the benchmark groups executed by this job:
Julia versioninfo
Baseline resultBenchmark Report for /home/runner/work/YAXArrays.jl/YAXArrays.jlJob Properties
ResultsBelow is a table of this job's results, obtained by running the benchmarks.
Benchmark Group ListHere's a list of all the benchmark groups executed by this job:
Julia versioninfo
Runtime information
|
Pull Request Test Coverage Report for Build 3838845482
💛 - Coveralls |
Codecov ReportBase: 75.23% // Head: 75.15% // Decreases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## master #210 +/- ##
==========================================
- Coverage 75.23% 75.15% -0.09%
==========================================
Files 12 12
Lines 1817 1819 +2
==========================================
Hits 1367 1367
- Misses 450 452 +2
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
@meggart @felixcremer tag new release with this change? |
Pull Request Test Coverage Report for Build 3838845482Warning: This coverage report may be inaccurate.This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.
Details
💛 - Coveralls |
There was a performance bug when saving cubes that were much smaller than available memory where the cp[y buffer size could not be optimized. This PR adds a workaround for this case.