mirror of
https://github.com/dolthub/dolt.git
synced 2026-01-27 10:35:36 -06:00
sed -f not supported
This commit is contained in:
7
.github/workflows/merge-perf.yaml
vendored
7
.github/workflows/merge-perf.yaml
vendored
@@ -49,8 +49,8 @@ jobs:
|
||||
gw=$GITHUB_WORKSPACE
|
||||
DATADIR=$gw/data
|
||||
TABLE_NUM=2
|
||||
ROW_NUM=1000000
|
||||
ADD_NUM=60000
|
||||
ROW_NUM=1000
|
||||
ADD_NUM=60
|
||||
python ${{ env.SCRIPT_DIR }}/data.py $DATADIR $TABLE_NUM $ROW_NUM $ADD_NUM
|
||||
|
||||
TMPDIR=$gw/tmp
|
||||
@@ -62,9 +62,6 @@ jobs:
|
||||
|
||||
RESULTS=$gw/results.sql
|
||||
|
||||
echo "time test"
|
||||
time -f "%E" sleep 1
|
||||
|
||||
seconds=$(sed -E 's/real\s+0m([0-9]*\.[0-9]*)s/\1/' < $TIMES)
|
||||
minutes=$(sed -E 's/real\s+([0-9]*)m[0-9]*\.[0-9]*s/\1/' < $TIMES)
|
||||
latency=$(python -c "print($minutes+($seconds/60.0))")
|
||||
|
||||
Reference in New Issue
Block a user