mozilla / mozanalysis

A library for Mozilla experiments analysis
https://mozilla.github.io/mozanalysis/
Mozilla Public License 2.0
9 stars 13 forks source link

[POC | not ready for merge] Speed up bootstrap using multiprocessing #185

Open rebecca-burwei opened 1 year ago

rebecca-burwei commented 1 year ago

Trying out some things I learned at SciPy.

Locally, I'm seeing a 4-5x speed-up on the tests. I wonder what the speed-up would be in our production environments.

I understand we're introducing a bit more non-determinism here, but I bet it's possible to make the difference small enough.

If this works, we should implement it for the Bayesian bootstrap too.

Other tips:

Tagging some folks for feedback on this proof of concept.

scholtzan commented 1 year ago

how does https://github.com/mozilla/mozanalysis/pull/177 compare to this?

mikewilli commented 5 months ago

@rebecca-burwei Should this be closed?