Mercurial > repos > public > sbplib
view benchmark.m @ 99:ecf77a50d4fe feature/arclen-param
The arclength parameter function was slow because it called fzero. Now it is constructed once and for all with splines. Much better performance.
author | Martin Almquist <martin.almquist@it.uu.se> |
---|---|
date | Sun, 06 Dec 2015 15:41:42 +0100 |
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