etiennebacher / altdoc

Alternative to pkgdown to document R packages
https://altdoc.etiennebacher.com
Other
67 stars 9 forks source link

`render_docs(parallel = TRUE)` using `future.apply` #96

Closed vincentarelbundock closed 11 months ago

vincentarelbundock commented 11 months ago

Timings on my laptop for datawizard:

library(tictoc)
library(altdoc)

setup_docs("docsify", overwrite = TRUE)

tic()
render_docs()
toc()
# 230.528 sec elapsed

tic()
library(future)
plan(multicore)
render_docs(parallel = TRUE)
toc()
# 86.114 sec elapsed
vincentarelbundock commented 11 months ago

https://github.com/etiennebacher/altdoc/issues/82