From Performance Tips · The Julia Language
it seems to me that @time is for a specific function
Is there any method to know the time for a few lines have been executed? E.g., in python, one may write
start_time = time.time()
and
finish_time = time.time()
between a couple of lines.