From: Siraaj Khandkar Date: Thu, 28 Jan 2016 19:57:06 +0000 (-0500) Subject: Clarify reasons for sorting order. X-Git-Tag: 1.0.1~2 X-Git-Url: https://git.xandkar.net/?a=commitdiff_plain;h=e99ea129941260681c5518ac37267e1f5b4e28c3;p=beam_stats.git Clarify reasons for sorting order. --- diff --git a/src/beam_stats_processes.erl b/src/beam_stats_processes.erl index d369314..607376c 100644 --- a/src/beam_stats_processes.erl +++ b/src/beam_stats_processes.erl @@ -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