Try self-hosted runner yet another time
This commit is contained in:
parent
14a9468f59
commit
2125e85497
@ -40,6 +40,7 @@ function measure_peak_ram_and_time {
|
|||||||
# on macOS time has different parameters, so simply run command on macOS
|
# on macOS time has different parameters, so simply run command on macOS
|
||||||
$COMMAND > /dev/null 2>&1
|
$COMMAND > /dev/null 2>&1
|
||||||
else
|
else
|
||||||
|
|
||||||
OUTPUT=$(/usr/bin/time -f "%e %M" $COMMAND 2>&1 | tail -n 1)
|
OUTPUT=$(/usr/bin/time -f "%e %M" $COMMAND 2>&1 | tail -n 1)
|
||||||
|
|
||||||
TIME=$(echo $OUTPUT | awk '{print $1}')
|
TIME=$(echo $OUTPUT | awk '{print $1}')
|
||||||
|
Loading…
Reference in New Issue
Block a user