public static function recordFunctionTimingForGroup($function, $group) {

        $functionTiming = CodeTimer::time($function);
        if (isset(CodeTimer::$groupTimings[$group])) {
            CodeTimer::$groupTimings[$group] += $functionTiming;
        } else {
            CodeTimer::$groupTimings[$group] = $functionTiming;
        }
    }