view benchmark.m @ 908:ecfccf236af0 feature/utux2D

Add helper function nonConformingInterfaceOptions that creates an InterfaceOptions object that specifies which interpolation operators are used where.
author Martin Almquist <malmquist@stanford.edu>
date Fri, 23 Nov 2018 20:14:16 -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