diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-02-10 18:09:00 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-02-10 18:09:00 +0000 |
commit | c57e10faab0abb213e7a18274fd5a98ba87a5c09 (patch) | |
tree | de0195e28dfe19fbfeb5bffa8fde4f511288d8ef /lib | |
parent | 11e5d1b9ca3efa7be34ddebb708a6aedb4e91639 (diff) | |
download | gitlab-ce-c57e10faab0abb213e7a18274fd5a98ba87a5c09.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'lib')
-rw-r--r-- | lib/gitlab/profiler/total_time_flat_printer.rb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/gitlab/profiler/total_time_flat_printer.rb b/lib/gitlab/profiler/total_time_flat_printer.rb index 2c105d2722b..9846bad3c08 100644 --- a/lib/gitlab/profiler/total_time_flat_printer.rb +++ b/lib/gitlab/profiler/total_time_flat_printer.rb @@ -24,7 +24,7 @@ module Gitlab sum += method.self_time - @output << "%6.2f %9.3f %9.3f %9.3f %9.3f %8d %s%s\n" % [ + @output << "%6.2f %9.3f %9.3f %9.3f %9.3f %8d %s%-30s %s\n" % [ method.self_time / total_time * 100, # %self method.total_time, # total method.self_time, # self @@ -32,7 +32,8 @@ module Gitlab method.children_time, # children method.called, # calls method.recursive? ? "*" : " ", # cycle - method_name(method) # name + method.full_name, # method_name + method_location(method) # location ] end end |