view benchmark.m @ 1226:0652b34f9f27 feature/volcano

Add missing properties and methods to Hypsyst3D and Hypsyst3Dcurve. Note: These functions are NOT implemented properly and mearly work as place holders.
author Vidar Stiernström <vidar.stiernstrom@it.uu.se>
date Tue, 12 Nov 2019 09:00:48 -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