view benchmark.m @ 932:3860dad28239 feature/timesteppers

Remove unnecessary(?) arguments in Rungekutta.scheme.
author Martin Almquist <malmquist@stanford.edu>
date Mon, 03 Dec 2018 16:33:27 -0800
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