src/services/Profile.php
public function end(string $profile)
    {
        Craft::endProfile(
            $profile,
            Craft::t('twig-profiler', self::CATEGORY_PREFIX)
            .TwigProfiler::$renderingTemplate
        );
    }
public function end(string $profile)
    {
        Craft::endProfile(
            $profile,
            Craft::t('twig-profiler', self::CATEGORY_PREFIX)
            .TwigProfiler::$renderingTemplate
        );
    }
End logging profiling data

@param string $profile