view benchmark.m @ 1087:867307f4d80f feature/laplace_curvilinear_test

Improve comments in LaplCurve.
author Martin Almquist <malmquist@stanford.edu>
date Fri, 29 Mar 2019 14:50:50 -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