@elapsed is what you are looking for 2015-03-11 7:43 GMT-04:00 Patrick Kofod Mogensen <[email protected] >:
> I am testing the run times of two different algorithms, solving the same > problem. I know there is the @time macro, but I cannot seem to wrap my head > around how I should save the printed times. Any clever way of doing this? I > thought I would be able to > > [@time algo(input) for i = 1:500], > > but this saves the return form algo. > > > Best, > Patrick >
