Исправить замечания ревью: останавливать лестницу только при перегрузке системы, проверять файлы серий до запуска, исправить единицы контроля шума, убрать лишние комментарии

This commit is contained in:
2026-11-04 12:58:00 +03:00
parent baa5995938
commit f5f8040783
8 changed files with 58 additions and 22 deletions
+2 -1
View File
@@ -32,7 +32,8 @@ meta() {
# host_probe prints the seconds a fixed CPU loop takes in a one-CPU container:
# the same work every time, so a slow spell of the host shows in the results.
host_probe() {
docker run --rm --cpus 1 --entrypoint sh mtusi-messenger:lab3 -c 'time -p awk "BEGIN{for(i=0;i<5000000;i++)s+=i}"' 2>&1 | awk '/^real/ { print $2 }'
docker run --rm --cpus 1 --entrypoint sh mtusi-messenger:lab3 \
-c 'time -p awk "BEGIN{for(i=0;i<5000000;i++)s+=i}"' 2>&1 | awk '/^real/ { print $2 }'
}
# sample_docker_stats appends the CPU and memory of every container until killed.