Conversation
|
Couple of observations:
|
86ab946 to
b7ed02c
Compare
|
base implementation only allows compression level up to 19 |
65ab6fb to
06c7f8f
Compare
|
This is how benchmark results would change (along with a 95% confidence interval in relative change) if 06c7f8f is merged into devel:
|
|
This is how benchmark results would change (along with a 95% confidence interval in relative change) if 1604a41 is merged into devel:
|
|
I suspect the big time difference in writing may be due to the overhead of dealing with the connection. We may need to wait until r-devel/r-dev-day#89 is resolved. |
|
This is how benchmark results would change (along with a 95% confidence interval in relative change) if 8bd35fa is merged into devel:
|
|
It looks base R implementation only performs worse at medium & high compression level. I'm not sure why right now.
Benchmarking code: bench_res <- cross::bench_versions(pkgs = c("Huber-group-EMBL/Rarr@devel", "Huber-group-EMBL/Rarr@8bd35fa188d0d24011375726f61b9e09f81ec44a"), {
library(Rarr)
x <- runif(1e6)
arr <- array(x, dim = c(100, 100, 100))
results <- bench::press(
level = 1:19,
bench::mark(write_zarr_array(arr, "zstd.zarr", chunk_dim = c(10, 10, 10), compressor = use_zstd(level = level)), iterations = 20)
)
}) |
No description provided.