Is there a macro in Julia to return the elapsed time of a function with return values?
julia> elapsedtime = @elapsed resultoffunciton = sqrt(11)
6.0e-7
julia> elapsedtime
6.0e-7
julia> resultoffunciton
3.3166247903554
1 Like