view benchmark.m @ 1199:dfb1b84b63f4 feature/joingrids

Add multiblock.joinGrids, which joins several multiblock grids into one.
author Martin Almquist <malmquist@stanford.edu>
date Sat, 17 Aug 2019 16:20:07 -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