-
Notifications
You must be signed in to change notification settings - Fork 446
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DefUse is consuming lots of memory #5061
Labels
compiler-performance
Topics on improving the performance of the compiler core.
core
Topics concerning the core segments of the compiler (frontend, midend, parser)
Comments
asl
added
core
Topics concerning the core segments of the compiler (frontend, midend, parser)
compiler-performance
Topics on improving the performance of the compiler core.
labels
Dec 12, 2024
Tagging @ChrisDodd Is there something that could be improved? Could midend def-use be reused if it has better performance? |
Allocation tracing looks like as follows:
and
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
compiler-performance
Topics on improving the performance of the compiler core.
core
Topics concerning the core segments of the compiler (frontend, midend, parser)
I am constantly seeing use-def to consume lots of memory. In many cases I'm seeing behavior like:
or
In one case I had to kill p4c process as it started to consume more than 16 Gb of RAM inside ProcessDefUse.
Also, ProcessDefUse usually takes 30-40% of all frontend time (timing minutes and tens of minutes).
The text was updated successfully, but these errors were encountered: