Skip to content

Commit d002900

Browse files
committed
feat(experiment/run-library.sh): Unify e() output
To always include average duration in the same position. rh-pre-commit.version: 2.2.0 rh-pre-commit.check-secrets: ENABLED
1 parent a585264 commit d002900

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

experiment/run-library.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -582,7 +582,7 @@ function e() {
582582
local duration="$( grep "^$grepper" $log_report | tail -n 1 | cut -d ' ' -f 4 )"
583583
local passed="$( grep "^$grepper" $log_report | tail -n 1 | cut -d ' ' -f 6 )"
584584
local avg_duration="$( grep "^$grepper" $log_report | tail -n 1 | cut -d ' ' -f 8 )"
585-
log "Examined $log for $grepper: $duration / $passed = $avg_duration (ranging from $started_ts to $ended_ts)"
585+
log "Examined $log for $grepper: $duration / $passed = $avg_duration (ranging from $started_ts to $ended_ts) and has taken $avg_duration seconds"
586586

587587
measurement_add \
588588
"experiment/reg-average.py '$grepper' '$log'" \

0 commit comments

Comments
 (0)