added tic/toc performance metrics