Optional profiling in cmdstanr

This is just a heads up to all the stan-coders / advanced users here.

I have created a “standalone” version of the code we use for making profiling in the epinowcast stan model optional. Basically just a conventient wrapper for cmdstanr::cmdstan_model that adds one additional argument to toggle profiling on/off. For now, you can find it in this repo (along with the explanation why it might be useful). I will try to get it into the actual cmdstanr package as well.

Just thought it may come in handy also for other projects people are doing with stan :slight_smile:

1 Like

This is a great idea. I’ve found having this functionality really useful and can imagine it being useful to others.