Skip to content
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

Loading an (arbitrary) package slows down bplapply() #47

Open
mtmorgan opened this issue Dec 21, 2015 · 1 comment
Open

Loading an (arbitrary) package slows down bplapply() #47

mtmorgan opened this issue Dec 21, 2015 · 1 comment

Comments

@mtmorgan
Copy link
Collaborator

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 
@zeehio
Copy link
Contributor

zeehio commented Nov 4, 2022

I can't reproduce this old issue (just saying if you want to close it...)

> library(BiocParallel)
>  system.time(bplapply(1:1e2 , function(...) {}, BPPARAM = MulticoreParam(workers = 2, tasks=1e2)))
   user  system elapsed 
  3.549   1.965   2.547 
> library(mgcv)
Loading required package: nlme
This is mgcv 1.8-41. For overview type 'help("mgcv-package")'.
> system.time(bplapply(1:1e2 , function(...) {}, BPPARAM = MulticoreParam(workers = 2, tasks=1e2)))
   user  system elapsed 
  2.464   2.799   2.203 
> 
``

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants