You can use @elapsed instead of @time.

On Wed, Mar 11, 2015 at 8:03 AM, Patrick Kofod Mogensen <
[email protected]> 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
>

Reply via email to