Profiling example app

WIP
wrap to 80 columns