Hello everyone,

It can be found here: https://github.com/KristofferC/TimerOutputs.jl



using TimerOutputs;

const time_tracker = TimerOutput()

@timeit time_tracker "sleeping" sleep(1)

@timeit time_tracker "loop" for i in 1:10
   rand()

end

for i in 1:5
    @timeit time_tracker "in a loop" rand()
end

print(time_tracker)

Reply via email to