view benchmark.m @ 759:2645188489f6 feature/d1_staggered

Bugfix? in +scheme/bcSetup.m
author Martin Almquist <malmquist@stanford.edu>
date Mon, 18 Jun 2018 16:32:23 -0700
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