view benchmark.m @ 687:e8fc3aa1faf6 feature/poroelastic

Rename elastic scheme.
author Martin Almquist <malmquist@stanford.edu>
date Fri, 09 Feb 2018 13:34:27 -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