Revert "Add mini profiler"

This reverts commit 164161ec1e8cb9119d1f1b84f51a39cc7b39fe1f.