Add mini-profiler and flamegraphs.

As Johnny Storm would say: "Flame on!"

Change-Id: I00af8419a743911ffd0d09cea38d1c2e91666b99