view benchmark.m @ 666:2d85f17a8aec feature/utux2D

Add possibility for damping terms at interpolation interface.
author Martin Almquist <malmquist@stanford.edu>
date Mon, 16 Oct 2017 21:56:12 -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