-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Profile: Fix short names #56627
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
Profile: Fix short names #56627
Conversation
e620c43
to
3f90bba
Compare
LGTM. Also I realize I was wrong in my comment that this might be broken on releases. It should be fine since the paths are stored during build time. |
0c8b5d8
to
17ed858
Compare
17ed858
to
982f9dc
Compare
Profile.print(ioc, C=true) | ||
str = String(take!(io)) | ||
slash = Sys.iswindows() ? "\\" : "/" | ||
@test occursin("@Compiler" * slash, str) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These tests have been seen failing quite frequently in CI since merging. Is there something wrong with the PR or test design?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Somehow the profiler sometimes misses all of the compilation. Perhaps peakflops
could be replaced with something like putting a sleep in a generated function eval. Or just test the underlying functions more precisely.
Fixes a regression in #56601
Fixes another bug when the Project.toml is bad.
Adds tests.