def output_html(
        self,
    ) -> str:
        """
        Return the profile output as HTML, as rendered by :class:`HTMLRenderer`
        """
        return self.output(renderer=renderers.HTMLRenderer())

        Return the profile output as HTML, as rendered by :class:`HTMLRenderer`
        
pyinstrument/profiler.py