Add our own profiler.
Merge branch 'playground' into Performance