-
-
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
add __init__()
calls to time_imports
macro
#49529
add __init__()
calls to time_imports
macro
#49529
Conversation
Can the |
Not without storing timing info and much more complicated state management unfortunately.
I agree, but I wanted to maintain all the info and format that |
+1 for reporting in milliseconds It's much easier to compare against the other timings:
|
All compilation time from a package load comes from its So in
What does the 34% (~30ms) of compilation time come from when the Regarding the formatting, it would be nice to have it fit on one line.
or something? |
Re the last point a package can have multiple modules with multiple inits though |
True, so I guess the question is if it is possible to only use the "step" printing when there is more than one. But that might be a bit awkward to keep track of that state maybe. |
wait. I think the problem is that |
f6da145
to
69db2ad
Compare
@vtjnash is the way this jumps between c and julia ok? I guess it changes the error handling if an |
Should add |
It seems a bit awkward. The |
6e566f3
to
508ba96
Compare
508ba96
to
856f1ac
Compare
Breaks out any
__init__()
calls. They're on their own lines as a package may have multiple modules with__init__()
'sUpdate (latest)