monad-bayes icon indicating copy to clipboard operation
monad-bayes copied to clipboard

Extend benchmarks again

Open turion opened this issue 2 years ago • 3 comments

At some point in the past, the benchmarks included Anglican and WebPPL. They don't anymore because it can't be expected from a normal developer to install these. It would be nice if the benchmarks were packaged as nix derivations, and the Anglican and WebPPL versions be restored as part of that. If they are implemented in nix, they're less likely to break, and can be run for everyone. In case this proves too hard, we could try to make a STAN or PyMC benchmark for comparison instead.

turion avatar Feb 07 '23 15:02 turion

Another axis along which it would be very useful to extend the benchmarks: Running them for different commits. This could also be done with nix by providing different sources for the monad-bayes package to the benchmark.

turion avatar Feb 08 '23 09:02 turion

I'm sort of ok leaving out the Anglican and WebPPL baselines, for two reasons:

  1. Neither system is under active development (to my knowledge)
  2. Interested readers can simply refer to the benchmark in the paper.

reubenharry avatar Feb 08 '23 16:02 reubenharry

Running for different commits would be helpful. Actually something that I would previously have found helpful too is a very simple thing I can run that just tells me: did the changes I commit slow down or speed up the benchmark? One can get this information indirectly via criterion, but I found it cumbersome.

reubenharry avatar Feb 08 '23 16:02 reubenharry