view benchmark.m @ 1203:25cadc69a589 feature/poroelastic

Update comments in Anisotropic
author Martin Almquist <malmquist@stanford.edu>
date Thu, 05 Sep 2019 17:10:58 -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