mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2024-11-23 10:14:13 +08:00
ci/{deqp,piglit}-runner: make zstd respect FDO_CI_CONCURRENT when set, and fallback to the current "all the threads"
Also, expand `-q` to `--quiet` to be more explicit, and drop a stray `-c` which did nothing except cancel out `--rm`. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30416>
This commit is contained in:
parent
9672f9732f
commit
e9998fdef5
@ -275,7 +275,7 @@ fi
|
||||
# Compress results.csv to save on bandwidth during the upload of artifacts to
|
||||
# GitLab. This reduces the size in a VKCTS run from 135 to 7.6MB, and takes
|
||||
# 0.17s on a Ryzen 5950X (16 threads, 0.95s when limited to 1 thread).
|
||||
zstd --rm -T0 -8q "$RESULTS_DIR/results.csv" -o "$RESULTS_DIR/results.csv.zst"
|
||||
zstd --quiet --rm --threads ${FDO_CI_CONCURRENT:-0} -8 "$RESULTS_DIR/results.csv" -o "$RESULTS_DIR/results.csv.zst"
|
||||
|
||||
set +x
|
||||
section_end test_post_process
|
||||
|
@ -131,6 +131,6 @@ fi
|
||||
# Compress results.csv to save on bandwidth during the upload of artifacts to
|
||||
# GitLab. This reduces a full piglit run to 550 KB, down from 6 MB, and takes
|
||||
# 55ms on my Ryzen 5950X (with or without parallelism).
|
||||
zstd --rm -T0 -8qc $RESULTS_DIR/results.csv -o $RESULTS_DIR/results.csv.zst
|
||||
zstd --quiet --rm --threads ${FDO_CI_CONCURRENT:-0} -8 $RESULTS_DIR/results.csv -o $RESULTS_DIR/results.csv.zst
|
||||
|
||||
exit $PIGLIT_EXITCODE
|
||||
|
Loading…
Reference in New Issue
Block a user