I'm working a little bit on a benchmarking suite. It's not available yet, but here is a piece of code which gives you some more functionality than @elapsed: https://gist.github.com/SimonDanisch/4b8f236e35cd07a58efc#file-benchmark-jl
Best, Simon Am Mittwoch, 11. März 2015 17:05:07 UTC+1 schrieb Patrick Kofod Mogensen: > > 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 >
