Revert "Revert "Profile""

This reverts commit 165c53d35ed25e3debda139a40e778c906a6e744.