-
Notifications
You must be signed in to change notification settings - Fork 49
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
Sorting the result #41
Comments
If you use I don't know how you'd sort them "rationally," since there is no total order. Maybe alphabetically? |
Yes, just sorting them alphabetically helps, like how did here: |
Can you play with the new version (especially under Julia 1.4) and see whether you still want this? The format of the precompile statements has changed quite a bit, especially if there are generated functions, keyword functions, etc. Some of the new precompile statements look like this: let fbody = try __lookup_kwbody__(which(show, (IOStream,MIME{Symbol("image/png")},Array{Gray{Normed{UInt8,8}},2},))) catch missing end
if !ismissing(fbody)
precompile(fbody, (Int64,Int64,Function,typeof(show),IOStream,MIME{Symbol("image/png")},Array{Gray{Normed{UInt8,8}},2},))
end
end The current sorting order is by time, with the slowest-to-compile coming last. |
I will test it sometime this week. If the timing is always stable and consistent that can be a good sorting measure. |
Actually, SnoopCompile 1.1 is already released and contains this change. |
Every time I run the
snoopc
it seems that a new file is generated (which causes duplicate PR in #37). Is it possible to sort the result before writing it to the file?The text was updated successfully, but these errors were encountered: