Skip to content

CI: Decrease the expected runtimes of `gettext:updated_check` rake task

Peter Leitzen requested to merge pl-static-analysis-gettext-updated into master

What does this MR do and why?

This rake task got significantly faster since !115003 (merged) but we never updated the expected time.

The number is based on the average value of the latest 587 runs of rake gettext:updated_check:

$ bin/ci_logs gitlab-org/gitlab "" "static-analysis.*" "bin/rake gettext:updated_check" > logs/static-analysis.txt

# Go, have something to eat...

$ rg "gettext:updated_check" -A 1 logs/static-analysis.txt   | rg -o -r '$1' "Finished in (\d+\.\d+)" | wc -l
587
$ rg "gettext:updated_check" -A 1 logs/static-analysis.txt   | rg -o -r '$1' "Finished in (\d+\.\d+)" | perl -M'List::Util qw(sum max min)' -MPOSIX -0777 -a -ne 'printf "%-7s : %d\n"x4, "Min", min(@F), "Max", max(@F), "Average", sum(@F)/@F,  "Median", sum( (sort {$a<=>$b} @F)[ int( $#F/2 ), ceil( $#F/2 ) ] )/2;'
Min     : 30
Max     : 84
Average : 41
Median  : 37

bin/ci_logs is located in https://gitlab.com/splattael/gitlab-tools/-/blob/master/bin/ci_logs.

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Peter Leitzen

Merge request reports