Use stackprof for profiling.
Merge pull request #318 from Shopify/stackprof

Use stackprof for profiling.