Thank you for replying, but unfortunately I double posted, because I didn't think the first one was posted (https://groups.google.com/forum/#!topic/julia-users/yhe3fN9TTMQ).
On Wednesday, March 11, 2015 at 5:52:19 PM UTC+1, Stefan Karpinski wrote: > > You can use @elapsed instead of @time. > > On Wed, Mar 11, 2015 at 8:03 AM, Patrick Kofod Mogensen < > patrick....@gmail.com <javascript:>> wrote: > >> This might be sort of a duplicate posts, but I think the other post >> wasn't actually posted, so I'll try again. >> >> If I time a function 500 times and want to save all the times, how would >> I go about this? >> >> [@time algo(input) for i = 1:500] >> >> Catches all the algo returns instead of "output" from @time. >> >> Best, >> Patrick >> > >