This repository was archived by the owner on Dec 19, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 29
Slow builds introduced by menhir 20211230 or 20220210 #512
Comments
Ping @fpottier |
Could you try |
(The default level is |
@fpottier I get these build times for the
This is great. I'm not sure if we have a benchmark suite for parser performance. (cc @aryx) |
We dont have |
Thanks. I will probably have to make |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
We were running into out-of-memory errors when we tried building pfff with menhir 20220210. This is a report of the fast build times like we're used to and the new, long build times.
Note that the
atd
package on which we depend for semgrep doesn't build with menhir 20211230 (some type error), so I didn't check the performance for that version but I suspect this is where it started based on the menhir changelog:The times shown are the build times for the whole pfff project after deleting the mentioned build folders (under
_build/
). The command I used isResults
The longest build time is now for
lang_js/parsing
: it went from 23.67 s to 154.29 s. I didn't run into OOM errors during this benchmarking but I did previously when rebuilding the whole project both in CI and locally (starting my build with about 11 GB available on my machine).Before (menhir 20211128):
After (menhir 20220210):
The text was updated successfully, but these errors were encountered: