Skip to content

Commit

Permalink
format extensions with parent in time_imports report
Browse files Browse the repository at this point in the history
  • Loading branch information
IanButterworth committed Dec 21, 2022
1 parent 8cdb17b commit f9f1791
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions base/loading.jl
Original file line number Diff line number Diff line change
Expand Up @@ -979,6 +979,12 @@ function _include_from_serialized(pkg::PkgId, path::String, depmods::Vector{Any}
elapsed = round((time_ns() - t_before) / 1e6, digits = 1)
comp_time, recomp_time = cumulative_compile_time_ns() .- t_comp_before
print(lpad(elapsed, 9), " ms ")
for extid in EXT_DORMITORY
if extid.id == pkg
print(extid.parentid.name, "")
break
end
end
print(pkg.name)
if comp_time > 0
printstyled(" ", Ryu.writefixed(Float64(100 * comp_time / (elapsed * 1e6)), 2), "% compilation time", color = Base.info_color())
Expand Down

0 comments on commit f9f1791

Please sign in to comment.