view benchmark.m @ 348:145b3b8c1e4e martin-thesis-plots

Played around with Ti show and plot settings to create pretty pics for thesis.
author Martin Almquist <martin.almquist@it.uu.se>
date Sat, 03 Dec 2016 23:00:44 +0100
parents f9a65e62c5e5
children
line wrap: on
line source

function benchmark(func, N)
    default_arg('N',100);

    tic
    profile on

    for i = 1:N
        func();
    end

    profile viewer
end