As far as I know that, using @time
calculates the total time (compilation and execution). However, if I only need to calculate the execution time, what is the correct way to do that?
Call the function with the same arguments before in the same session.
1 Like
Thanks for your reply. So, there is no command in Julia instead?
using BenchmarkTools; @btime
?
6 Likes
The official reference is this section of Performance tips in the manual for the record, although the information there has been presented here already.
1 Like