Sort the list of scripts in the profile view
When showing the timings of the executed scripts, sort the scripts in the same way they were executed. This eases the comparison between runs of dib-run-parts. Change-Id: I171499c30e1a992d7225be8a9dc00e0f03ec46b0
This commit is contained in:
parent
7c03ab48a1
commit
494c067930
@ -98,7 +98,7 @@ printf "%-40s %9s\n" Script Seconds
|
||||
printf "%-40s %9s\n" --------------------------------------- ----------
|
||||
echo ""
|
||||
pushd $PROFILE_DIR > /dev/null
|
||||
for target in $(find . -name 'start_*' -printf '%f\n') ; do
|
||||
for target in $(find . -name 'start_*' -printf '%f\n' | env LC_ALL=C sort -n) ; do
|
||||
stop_file=stop_${target##start_}
|
||||
start_seconds=$(cat $target)
|
||||
stop_seconds=$(cat $stop_file)
|
||||
|
Loading…
Reference in New Issue
Block a user