From e1acd4f813f4069559abf258ce7cd4ae66c98839 Mon Sep 17 00:00:00 2001 From: pompolic <pompolic@special-circumstanc.es> Date: Fri, 11 Nov 2022 21:45:07 +0100 Subject: [PATCH] Sort by total time in method --- gdb-port/commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gdb-port/commands.py b/gdb-port/commands.py index d65a2e3..a57b684 100644 --- a/gdb-port/commands.py +++ b/gdb-port/commands.py @@ -234,7 +234,7 @@ class HammerParseApply(FlowControlWithPrint): top_level_parse.clear_ast_stack_index() self.conditionally_print_backtrace() - profiler.print_stats() # DEBUG + profiler.print_stats(sort='tottime') # DEBUG #profiler.disable() # DEBUG #s = io.StringIO() # DEBUG #sortby = SortKey.CUMULATIVE # DEBUG -- GitLab