electrs icon indicating copy to clipboard operation
electrs copied to clipboard

Feature: add micro-/macro-benchmarks to identify bottlenecks and performance regressions

Open romanz opened this issue 4 years ago • 3 comments

Is your feature request related to a problem? Please describe. https://github.com/romanz/electrs/issues/539#issuecomment-940360858

Describe the solution you'd like We should start with collecting performance data as part of our CI. Consider using https://prodfiler.com/ (if it works for our use-case). Maybe we can even run a full sync once in while :)

Describe alternatives you've considered I prefer not to rely on manual performance analysis.

romanz avatar Oct 15 '21 06:10 romanz

Hmm, can't find what exactly it does, just a bunch of empty marketing stuff.

Kixunil avatar Oct 15 '21 08:10 Kixunil

IIUC, they provide continuous profiling-as-a-service: https://prodfiler.com/blog/introducing-prodfiler/ We can definitely use FOSS tools to reproduce those metrics :)

romanz avatar Oct 15 '21 08:10 romanz

That's better but I still don't see how it's used. We upload it there with Bitcoin Core and it will do profiling for us? I'd be surprised if we didn't hit some limit. (Although maybe regtest is good enough?)

(I have no problem with non-FOSS testing tools like this.)

Kixunil avatar Oct 15 '21 08:10 Kixunil