mirror of
https://github.com/dolthub/dolt.git
synced 2026-01-25 03:09:00 -06:00
merge perf update deprecated output format
This commit is contained in:
12
.github/workflows/merge-perf.yaml
vendored
12
.github/workflows/merge-perf.yaml
vendored
@@ -57,12 +57,13 @@ jobs:
|
||||
echo "CREATE TABLE ${{env.RESULT_TABLE_NAME }} (name varchar(50) primary key, table_cnt int, run_cnt int, add_cnt int, delete_cnt int, update_cnt int, conflict_cnt int, fks bool, latency float);" >> $RESULTS
|
||||
|
||||
# parameters for testing
|
||||
ROW_NUM=1000000
|
||||
ROW_NUM=10000
|
||||
TABLE_NUM=2
|
||||
EDIT_CNT=600
|
||||
names=('adds_only' 'deletes_only' 'updates_only' 'adds_updates_deletes')
|
||||
adds=(60000 0 0 60000)
|
||||
deletes=(0 60000 0 60000)
|
||||
updates=(0 0 60000 60000)
|
||||
adds=($EDIT_CNT 0 0 $EDIT_CNT)
|
||||
deletes=(0 $EDIT_CNT 0 $EDIT_CNT)
|
||||
updates=(0 0 $EDIT_CNT $EDIT_CNT)
|
||||
|
||||
wd=$(pwd)
|
||||
for i in {0..3}; do
|
||||
@@ -87,8 +88,7 @@ jobs:
|
||||
|
||||
echo "INSERT INTO ${{ env.RESULT_TABLE_NAME }} values ("${names[$i]}", $TABLE_NUM, $ROW_NUM, ${adds[$i]}, ${deletes[$i]}, ${updates[$i]}, $conflicts, true, $latency);" >> $RESULTS
|
||||
done
|
||||
|
||||
echo "::set-output name=result_path::$RESULTS"
|
||||
echo "result_path=$RESULTS" >> $GITHUB_OUTPUT
|
||||
|
||||
- name: Report
|
||||
id: report
|
||||
|
||||
Reference in New Issue
Block a user