Profiling example app

WIP
script not mentioned in README, the comment here should probably be in README, or  no one will find this standalone script.