Given a for loop, is there some macro/function that times each iteration of the loop, and returns this info as a tuple or array (or similar)? Would there be any way to assign such tuple or array to a variable (for example, I am not sure how to assign output of @time macro to a variable). I am aware of the @timed macro, but not sure how to extract the tuple that @timed gives/assign to variable. Below is an example of a for loop where each iteration might be timed?
for x=1:10
println("$x is my number.")
end