N = 1e6;

tic;
for i = 1:N
  ## Empty for loop body 
endfor
bm1 = toc

function NOP ()
endfunction

tic;
for i = 1:N
  ## Call NOP subfunction
  NOP ();
endfor
bm2 = toc

tic;
for i = 1:N
  ## Call C++ emptyoct function
  emptyoct();
endfor
bm3 = toc


