Profiling example app

WIP
Invalid call to clearInterval.