Исправить замечания ревью: останавливать лестницу только при перегрузке системы, проверять файлы серий до запуска, исправить единицы контроля шума, убрать лишние комментарии
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user