Skip to content

Commit 82563bb

Browse files
authored
docstring for @time_imports: explain what is shown (it's not cumulative)
Re - JuliaLang#45861 (comment)
1 parent e40d813 commit 82563bb

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

stdlib/InteractiveUtils/src/macros.jl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -360,6 +360,9 @@ See also: [`code_native`](@ref), [`@code_llvm`](@ref), [`@code_typed`](@ref) and
360360
A macro to execute an expression and produce a report of any time spent importing packages and their
361361
dependencies. Any compilation time will be reported as a percentage, and how much of which was recompilation, if any.
362362
363+
One line is printed per package. The duration shown is the time to import that package itself
364+
(and not any of its dependencies).
365+
363366
On Julia 1.9+ [package extensions](@ref man-extensions) will show as Parent → Extension.
364367
365368
!!! note

0 commit comments

Comments
 (0)