Loading an (arbitrary) package slows down bplapply()
还没有人认领这个 Issue。
评估
调研方向
Start by reproducing the two bplapply() benchmarks with MulticoreParam and compare timings before and after loading mgcv. The issue names no files or tests, so trace the bplapply()/MulticoreParam execution path to identify where package loading affects the slowdown. Done should include a verified explanation and a regression check for the reported timing difference.
由索引模型根据 Issue 内容生成。
描述
2.5x longer when mgcv is loaded.
> library(BiocParallel)
> system.time(bplapply(1:1e2 , function(...) {}, BPPARAM = MulticoreParam(workers = 2, tasks=1e2)))
user system elapsed
0.089 0.008 5.832
> library(mgcv)
Loading required package: nlme
This is mgcv 1.8-10. For overview type 'help("mgcv-package")'.
> system.time(bplapply(1:1e2 , function(...) {}, BPPARAM = MulticoreParam(workers = 2, tasks=1e2)))
user system elapsed
0.095 0.012 12.048
- 主要语言
- R
- 星标
- 69
- 派生
- 32
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
Bioconductor/BiocParallel 的其他 Issue
-
BatchtoolsParam handles reduce.in.order differently from others可能已有人在做 @LeonidasZhak 于 45 天前认领。 未关闭
难度 3/5 1-2 天 新手友好度 65/100
Bioconductor/BiocParallel#286 · 1 条评论 ·
-
难度 3/5 1-2 天 新手友好度 50/100
Bioconductor/BiocParallel#285 ·
-
futile.logger may be archived from CRAN可能重新可做 @Jiefei-Wang 于 282 天前认领,目前没有进行中的 PR。 未关闭
Bioconductor/BiocParallel#284 · 2 条评论 · 已指派 1 人 ·
-
难度 4/5 3-5 天 新手友好度 25/100
Bioconductor/BiocParallel#283 · 2 条评论 ·
-
DoparParam: Captured stdout is relayed to stdout for some foreach adapters and stderr for others未关闭
难度 4/5 3-5 天 新手友好度 35/100
Bioconductor/BiocParallel#277 ·
查看 Bioconductor/BiocParallel 的全部 Issue
相似的 Issue
-
难度 1/5 1-3 小时 新手友好度 65/100
-
Component: R
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 2 天内回复
-
bug pixi-build-r
难度 2/5 1-3 小时 新手友好度 70/100
prefix-dev/pixi#7229 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
-
难度 2/5 1-3 小时 新手友好度 72/100
rstudio/reticulate#1933 ·