-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
docstr to explaing >100% compilation time in @time #47980
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
Conversation
It is certainly not too minor! A |
Noted! For context, this came from my questions here: |
This PR adds the comment to EDIT: Maybe refer from all time-macro's to one central section in the docs with more info, such as using |
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.
How about "..., but may still be counted in the reported percentage, potentially even resulting in compilation times >100%. To report this time more accurately, you can ..."
I am pretty easy going on this type of redundancy / repetition, but happy to follow other directions. All 3 docstrings updated now, using the more polished phrasing from the above comment. |
I'm not sure the >100% isn't a regression. I don't believe it happened at one point. If someone can give a mwe without a package we could perhaps explore it. |
The >100% thing is specifically something that's happening on #47184 -- let me see if I can find an mwe |
Ah, the first place I saw it was also when plotting with Makie: #47184 (comment) FWIW, my example in that comment actually doesn't seem to reproduce anymore on the latest build of that PR though! |
@IanButterworth , here is a MWE of >100% compile time that does not require a package installation: On the nightly just after merging the pkgimages PR
On 1.8.0
Should I close this and open an issue? |
Great, yes please. Thanks |
This caused me a minor confusion when seeing @time reporting
>100%
compilation time. To me, the original docstring sounded like some compilation time is skipped altogether in the reporting, but it seems it is skipped only in the denominator, not in the numerator.Feel free to close if too minor, or if my interpretation was wrong