Skip to content

Commit 985680c

Browse files
committed
Change default sorting
1 parent c160d8d commit 985680c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/profiling/sampling/live_collector/constants.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,5 +55,5 @@
5555
COLOR_PAIR_SORTED_HEADER = 10
5656

5757
# Default display settings
58-
DEFAULT_SORT_BY = "tottime"
58+
DEFAULT_SORT_BY = "nsamples" # Number of samples in leaf (self time)
5959
DEFAULT_DISPLAY_LIMIT = 20

0 commit comments

Comments
 (0)