summaryrefslogtreecommitdiff
path: root/lib/profiler.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/profiler.rb')
-rw-r--r--lib/profiler.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/profiler.rb b/lib/profiler.rb
index 1067106..a4b8889 100644
--- a/lib/profiler.rb
+++ b/lib/profiler.rb
@@ -34,7 +34,7 @@ module_function
total = Process.times[0] - @@start
if total == 0 then total = 0.01 end
data = @@map.values
- data = data.sort_by{|x| x[2]}
+ data = data.sort_by{|x| -x[2]}
sum = 0
f.printf " %% cumulative self self total\n"
f.printf " time seconds seconds calls ms/call ms/call name\n"