-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
should allocation tracking ignore compilation by default? #19981
Comments
Maybe we should make the above more prominent in http://docs.julialang.org/en/stable/manual/profile/#memory-allocation-analysis? |
Wouldn't it be better (if possible) to just do the right thing by default? |
When using
--track-allocation
it's almost impossible to coax it into not putting a bogus looking large allocation on the first line of each function, which presumably is due to compilation kicking in when the function first runs. Can we turn off allocation tracking when we enter the compiler and then turn it back on once we've left compilation? Perhaps--track-allocation=user
should exclude compilation time and--track-allocation=all
should include it?The text was updated successfully, but these errors were encountered: