Put performance debug into separate check