private function printStatisticsOnAfterExerciseEvent(Formatter $formatter, $eventName)
    {
        if (ExerciseCompleted::AFTER !== $eventName) {
            return;
        }

        $this->statistics->stopTimer();
        $this->printer->printStatistics($formatter, $this->statistics);
    }