Clarify reasons for sorting order.
authorSiraaj Khandkar <siraaj@khandkar.net>
Thu, 28 Jan 2016 19:57:06 +0000 (14:57 -0500)
committerSiraaj Khandkar <siraaj@khandkar.net>
Thu, 28 Jan 2016 19:57:06 +0000 (14:57 -0500)
src/beam_stats_processes.erl

index d369314..607376c 100644 (file)
@@ -67,7 +67,8 @@ print(
 ) ->
     PerProcessStatsSorted = lists:sort(
         fun (#beam_stats_process{memory=A}, #beam_stats_process{memory=B}) ->
-            % From lowest to highest:
+            % From lowest to highest, so that the largest appears the end of
+            % the output and be easier to see (without scrolling back):
             A < B
         end,
         PerProcessStats
This page took 0.029425 seconds and 4 git commands to generate.