diff options
| author | ruki <[email protected]> | 2023-03-17 22:45:23 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2023-03-17 22:45:23 +0800 |
| commit | cad3383225d2f7a8eeeac8f095468d8f1c1bf6f6 (patch) | |
| tree | 12a393ea104672017cdbc24ba66295eb9b34550a | |
| parent | 0a0167ee3dcd059caa2ce09cc8bda13edb0d5d11 (diff) | |
improve results
| -rw-r--r-- | xmake/core/base/profiler.lua | 5 |
1 files changed, 4 insertions, 1 deletions
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 |
