See ProfileBeforeOptimizing