julia icon indicating copy to clipboard operation
julia copied to clipboard

`@time_imports` to show total time as well

Open baggepinnen opened this issue 1 year ago • 1 comments

I frequenctly find myself calling

@time_imports using SlowPackage

followed by a restart of julia and then

@time using SlowPackage

to get the total time. It would be nice if @time_imports would print the total time as well.

baggepinnen avatar Sep 21 '22 09:09 baggepinnen

@time @time_imports using SlowPackage

is a valid approach to get both at the same time, but it requires you to remember to use both

baggepinnen avatar Sep 21 '22 10:09 baggepinnen

Yeah, it should do this automatically. The first version before release did, but that was because of a bug in code loading that made the loading partially nested, but that was fixed.

IanButterworth avatar Sep 22 '22 12:09 IanButterworth