Felix Van der Jeugt 2016-02-22 10:46:07 +01:00
parent db3b68c22e
commit e6b4553bd7

View File

@ -29,7 +29,7 @@ paste \
<(cut -f1 $$.timings) \ <(cut -f1 $$.timings) \
<(cat /tmp/bash-profile-$$.log | \ <(cat /tmp/bash-profile-$$.log | \
sed 's/^+\+ //' | \ sed 's/^+\+ //' | \
sed 's/^\(local\s\|declare\|\S\+=\).*/[[assignment]]/') | \ sed 's/^\(local\s\|declare\s\|\S\+=\).*/[[assignment]]/') | \
tail -n +2 | \ tail -n +2 | \
awk '{ awk '{
cumtime[$2] += $1 cumtime[$2] += $1