-
-
Notifications
You must be signed in to change notification settings - Fork 99
Closed
Description
Description:
A performance regression was identified on Discourse: https://discourse.mc-stan.org/t/speed-difference-between-rstan-and-c
cmdstan-for-a-simple-model/25113
The regression is most evident with a trivial model like:
data {
int N;
}
parameters {
vector[N] a;
}
model {
a ~ normal(0,1);
}Execution times with N=10000:
It's much less evident with non-trivial models, but still, something to investigate.
Based on my investigation and investigation by the user rfc on Discourse (EDIT: @fcostin on Github) it has to do with writing output samples: https://discourse.mc-stan.org/t/speed-difference-between-rstan-and-cmdstan-for-a-simple-model/25113/23
It's probably the changes made to work with multiple chains.
EDIT: #987 was confirmed to be the issue.
Current Version:
v2.28.1
Metadata
Metadata
Assignees
Labels
No labels
