From cad3383225d2f7a8eeeac8f095468d8f1c1bf6f6 Mon Sep 17 00:00:00 2001 From: ruki Date: Fri, 17 Mar 2023 22:45:23 +0800 Subject: improve results --- xmake/core/base/profiler.lua | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/xmake/core/base/profiler.lua b/xmake/core/base/profiler.lua index 34c5e4bd7..09b4c45f5 100644 --- a/xmake/core/base/profiler.lua +++ b/xmake/core/base/profiler.lua @@ -203,11 +203,14 @@ function profiler:stop() -- show reports local count = 0 - while count < 32 and h:length() > 0 do + while count < 64 and h:length() > 0 do local report = h:pop() utils.print("%6.3f, %7d, %s", report.totaltime, report.callcount, self:_tag_title(report.name, report.argv)) count = count + 1 end + if h:length() > 0 then + utils.print("...") + end end end -- cgit v1.3.1