API suggestion:

var cacheTimer = profiler.startTimer('...');
...
cacheTimer.stop();