Slow package building with rstan 2.26.23
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 25/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- javascript, r
- Domain
- build-system, tooling
Research direction
Review the rstantools configure script and package-build path, comparing behavior when the script is disabled and binaries are already built. Determine whether parsing still occurs and whether a supported way to disable it exists; done means the behavior and package-build impact are confirmed and documented.
Written by the indexing model from the issue text.
Description
> happens with the rstantools configure script disabled too, and no compilation occurring, fyi.
This is because we're using a less powerful javascript engine (quickjs instead of V8) which is more portable, but less performant.
There were significant optimisations in
stanc3after 2.26, so once we getStanHeaders2.32 on CRAN then the parsing time should be ~3x fasterOriginally posted by @andrjohns in https://github.com/stan-dev/rstan/issues/1084#issuecomment-1711756010
If I've disabled the configure script of rstantools in my package, and the binaries are already built, is it true that parsing is still occurring? if so, can it be turned off somehow? I realise the aim is to get rstan 2.32 out quickly, but forgive me if I don't have full faith there ;) and even 3x faster will still be annoying for package dev...
- Dominant language
- R
- Stars
- 48
- Forks
- 24
- Avg merge
- 1h 17m
- Merged PRs (30d)
- 1
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from stan-dev/rstantools
-
Difficulty 1/5 Under an hour Newbie friendliness 72/100
stan-dev/rstantools#131 · 2 comments ·
-
Use testthat 3e Open
stan-dev/rstantools#159 · 1 reaction · 1 assignee ·
-
Cleanup Vignette Open
stan-dev/rstantools#157 · 1 comment · 1 assignee ·
-
Difficulty 1/5 Under an hour Newbie friendliness 45/100
stan-dev/rstantools#134 · 6 comments ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
stan-dev/rstantools#128 · 1 comment ·
All issues in stan-dev/rstantools
Similar issues
-
Affects Web App documentation PRIORITY LOW
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 1/5 Under an hour Newbie friendliness 80/100
hubverse-org/hubCI#36 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 85/100
-
Release 1.4.0 Open
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
pharmaverse/pharmaverseadam#170 ·