CatalaLang / catala

Programming language for literate programming law specification
https://catala-lang.org
Apache License 2.0
1.97k stars 78 forks source link

Test and monitor performance regressions #517

Open denismerigoux opened 1 year ago

denismerigoux commented 1 year ago

Prompted by #516, we should have some performance monitoring under CI to detect early performance drops introduced by compiler changes. The interpretation time is the most critical thing to watch.

AltGr commented 1 year ago

One approach could be to use https://github.com/ocurrent/current-bench

Then you get an output looking like https://autumn.ocamllabs.io/ocaml/opam/branch/master?worker=autumn&image=bench.Dockerfile

It seems fairly simple to use if look at https://github.com/ocaml/opam/pull/5574/files

denismerigoux commented 1 year ago

I'm ok for using this!