Exemplo n.º 1
0
 def output_text(self,
                 root=None,
                 unicode=False,
                 color=False,
                 show_all=False,
                 timeline=False):
     return renderers.ConsoleRenderer(unicode=unicode,
                                      color=color,
                                      show_all=show_all,
                                      timeline=timeline).render(
                                          self.last_session)
Exemplo n.º 2
0
def test_empty_profile():
    with Profiler() as profiler:
        pass
    profiler.output(renderer=renderers.ConsoleRenderer())
Exemplo n.º 3
0
 def output_text(self, root=None, unicode=False, color=False):
     return renderers.ConsoleRenderer(unicode=unicode,
                                      color=color).render(self.last_session)