@@ -115,7 +115,7 @@ jobs:
115115 fail-fast : false
116116 matrix :
117117 # BROKEN: tpch
118- benchmark : [ 'epinions', 'hyadapt', 'noop', 'otmetrics', 'resourcestresser', 'seats', 'sibench', 'smallbank', 'tatp', 'templated', 'tpcc', 'twitter', 'voter', 'wikipedia', 'ycsb' ]
118+ benchmark : [ 'chbenchmark', ' epinions', 'hyadapt', 'noop', 'otmetrics', 'resourcestresser', 'seats', 'sibench', 'smallbank', 'tatp', 'templated', 'tpcc', 'twitter', 'voter', 'wikipedia', 'ycsb' ]
119119 steps :
120120 - name : Download artifact
121121 uses : actions/download-artifact@v4
@@ -149,6 +149,10 @@ jobs:
149149 echo "The ${{matrix.benchmark}} benchmark is not supported for sqlite."
150150 exit 0
151151 else
152+ if [ ${{matrix.benchmark}} == chbenchmark ]; then
153+ # Disable synchronous mode for sqlite tpcc data loading to save some time.
154+ java -jar benchbase.jar -b tpcc -c config/sqlite/sample_tpcc_nosync_config.xml --create=true --load=true --execute=false --json-histograms results/histograms.json
155+ fi
152156 java -jar benchbase.jar -b ${{matrix.benchmark}} -c config/sqlite/sample_${{matrix.benchmark}}_config.xml --create=true --load=true --execute=true --json-histograms results/histograms.json
153157 fi
154158
@@ -179,7 +183,7 @@ jobs:
179183 fail-fast : false
180184 matrix :
181185 # FIXME: Add tpch back in (#333).
182- benchmark : [ 'auctionmark', 'epinions', 'hyadapt', 'noop', 'otmetrics', 'resourcestresser', 'seats', 'sibench', 'smallbank', 'tatp', 'templated', 'tpcc', 'tpcc-with-reconnects', 'twitter', 'voter', 'wikipedia', 'ycsb' ]
186+ benchmark : [ 'auctionmark', 'chbenchmark', ' epinions', 'hyadapt', 'noop', 'otmetrics', 'resourcestresser', 'seats', 'sibench', 'smallbank', 'tatp', 'templated', 'tpcc', 'tpcc-with-reconnects', 'twitter', 'voter', 'wikipedia', 'ycsb' ]
183187 services :
184188 mariadb : # https://hub.docker.com/_/mariadb
185189 image : mariadb:latest
@@ -233,6 +237,9 @@ jobs:
233237 (sleep 10 && ./scripts/interrupt-docker-db-service.sh mariadb) &
234238 java -jar benchbase.jar -b tpcc -c config/mariadb/sample_tpcc_config.xml --execute=true --json-histograms results/histograms.json
235239 else
240+ if [ ${{matrix.benchmark}} == chbenchmark ]; then
241+ java -jar benchbase.jar -b tpcc -c config/mariadb/sample_tpcc_config.xml --create=true --load=true --execute=false --json-histograms results/histograms.json
242+ fi
236243 java -jar benchbase.jar -b ${{matrix.benchmark}} -c config/mariadb/sample_${{matrix.benchmark}}_config.xml --create=true --load=true --execute=true --json-histograms results/histograms.json
237244 fi
238245
@@ -258,7 +265,7 @@ jobs:
258265 strategy :
259266 fail-fast : false
260267 matrix :
261- benchmark : [ 'auctionmark', 'epinions', 'hyadapt', 'noop', 'otmetrics', 'resourcestresser', 'seats', 'sibench', 'smallbank', 'tatp', 'templated', 'tpcc', 'tpcc-with-reconnects', 'tpch', 'twitter', 'voter', 'wikipedia', 'ycsb' ]
268+ benchmark : [ 'auctionmark', 'chbenchmark', ' epinions', 'hyadapt', 'noop', 'otmetrics', 'resourcestresser', 'seats', 'sibench', 'smallbank', 'tatp', 'templated', 'tpcc', 'tpcc-with-reconnects', 'tpch', 'twitter', 'voter', 'wikipedia', 'ycsb' ]
262269 services :
263270 mysql : # https://hub.docker.com/_/mysql
264271 image : mysql:latest
@@ -311,6 +318,9 @@ jobs:
311318 (sleep 10 && ./scripts/interrupt-docker-db-service.sh mysql) &
312319 java -jar benchbase.jar -b tpcc -c config/mysql/sample_tpcc_config.xml --execute=true --json-histograms results/histograms.json
313320 else
321+ if [ ${{matrix.benchmark}} == chbenchmark ]; then
322+ java -jar benchbase.jar -b tpcc -c config/mysql/sample_tpcc_config.xml --create=true --load=true --execute=false --json-histograms results/histograms.json
323+ fi
314324 java -jar benchbase.jar -b ${{matrix.benchmark}} -c config/mysql/sample_${{matrix.benchmark}}_config.xml --create=true --load=true --execute=true --json-histograms results/histograms.json
315325 fi
316326
@@ -336,7 +346,7 @@ jobs:
336346 strategy :
337347 fail-fast : false
338348 matrix :
339- benchmark : [ 'auctionmark', 'epinions', 'hyadapt', 'noop', 'otmetrics', 'resourcestresser', 'seats', 'sibench', 'smallbank', 'tatp', 'templated', 'tpcc', 'tpcc-with-reconnects', 'tpch', 'twitter', 'voter', 'wikipedia', 'ycsb' ]
349+ benchmark : [ 'auctionmark', 'chbenchmark', ' epinions', 'hyadapt', 'noop', 'otmetrics', 'resourcestresser', 'seats', 'sibench', 'smallbank', 'tatp', 'templated', 'tpcc', 'tpcc-with-reconnects', 'tpch', 'twitter', 'voter', 'wikipedia', 'ycsb' ]
340350 services :
341351 oracle :
342352 image : gvenzl/oracle-xe:21.3.0-slim-faststart
@@ -393,6 +403,9 @@ jobs:
393403 (sleep 10 && ./scripts/interrupt-docker-db-service.sh oracle) &
394404 java -jar benchbase.jar -b tpcc -c config/oracle/sample_tpcc_config.xml --execute=true --json-histograms results/histograms.json
395405 else
406+ if [ ${{matrix.benchmark}} == chbenchmark ]; then
407+ java -jar benchbase.jar -b tpcc -c config/oracle/sample_tpcc_config.xml --create=true --load=true --execute=false --json-histograms results/histograms.json
408+ fi
396409 java -jar benchbase.jar -b ${{matrix.benchmark}} -c config/oracle/sample_${{matrix.benchmark}}_config.xml --create=true --load=true --execute=true --json-histograms results/histograms.json
397410 fi
398411
@@ -424,7 +437,7 @@ jobs:
424437 strategy :
425438 fail-fast : false
426439 matrix :
427- benchmark : [ 'auctionmark', 'epinions', 'hyadapt', 'noop', 'otmetrics', 'resourcestresser', 'seats', 'sibench', 'smallbank', 'tatp', 'templated', 'tpcc', 'tpcc-with-reconnects', 'tpch', 'twitter', 'voter', 'wikipedia', 'ycsb' ]
440+ benchmark : [ 'auctionmark', 'chbenchmark', ' epinions', 'hyadapt', 'noop', 'otmetrics', 'resourcestresser', 'seats', 'sibench', 'smallbank', 'tatp', 'templated', 'tpcc', 'tpcc-with-reconnects', 'tpch', 'twitter', 'voter', 'wikipedia', 'ycsb' ]
428441 steps :
429442 # Note: we download just the docker-compose scripts/configs rather than the
430443 # whole source code repo for better testing.
@@ -479,6 +492,9 @@ jobs:
479492 (sleep 10 && ./scripts/interrupt-docker-db-service.sh postgres) &
480493 java -jar benchbase.jar -b tpcc -c config/postgres/sample_tpcc_config.xml -im 1000 -mt advanced --execute=true --json-histograms results/histograms.json
481494 else
495+ if [ ${{matrix.benchmark}} == chbenchmark ]; then
496+ java -jar benchbase.jar -b tpcc -c config/postgres/sample_tpcc_config.xml --create=true --load=true --execute=false --json-histograms results/histograms.json
497+ fi
482498 java -jar benchbase.jar -b ${{matrix.benchmark}} -c config/postgres/sample_${{matrix.benchmark}}_config.xml -im 1000 -mt advanced --create=true --load=true --execute=true --json-histograms results/histograms.json
483499 fi
484500
@@ -515,12 +531,14 @@ jobs:
515531 fail-fast : false
516532 matrix :
517533 # TODO: Add tpcc-with-reconnects benchmark support
534+ # TODO: Add chbenchmark benchmark support
518535 benchmark : [ 'auctionmark', 'epinions', 'hyadapt', 'noop', 'otmetrics', 'resourcestresser', 'seats', 'sibench', 'smallbank', 'tatp', 'templated', 'tpcc', 'tpch', 'twitter', 'voter', 'wikipedia', 'ycsb' ]
519536 services :
520537 cockroach : # https://hub.docker.com/repository/docker/timveil/cockroachdb-single-node
521538 image : timveil/cockroachdb-single-node:latest
522539 env :
523540 DATABASE_NAME : benchbase
541+ # TODO: Expand for additional config adjustments (See Also: #405, #519, #525)
524542 MEMORY_SIZE : .75
525543 ports :
526544 - 26257:26257
@@ -557,6 +575,9 @@ jobs:
557575 (sleep 10 && ./scripts/interrupt-docker-db-service.sh cockroachdb) &
558576 java -jar benchbase.jar -b tpcc -c config/cockroachdb/sample_tpcc_config.xml --execute=true --json-histograms results/histograms.json
559577 else
578+ if [ ${{matrix.benchmark}} == chbenchmark ]; then
579+ java -jar benchbase.jar -b tpcc -c config/cockroachdb/sample_tpcc_config.xml --create=true --load=true --execute=false --json-histograms results/histograms.json
580+ fi
560581 java -jar benchbase.jar -b ${{matrix.benchmark}} -c config/cockroachdb/sample_${{matrix.benchmark}}_config.xml --create=true --load=true --execute=true --json-histograms results/histograms.json
561582 fi
562583
@@ -655,6 +676,9 @@ jobs:
655676 (sleep 10 && ./scripts/interrupt-docker-db-service.sh sqlserver) &
656677 java -jar benchbase.jar -b tpcc -c config/sqlserver/sample_tpcc_config.xml -im 1000 -mt advanced --execute=true --json-histograms results/histograms.json
657678 else
679+ if [ ${{matrix.benchmark}} == chbenchmark ]; then
680+ java -jar benchbase.jar -b tpcc -c config/sqlserver/sample_tpcc_config.xml --create=true --load=true --execute=false --json-histograms results/histograms.json
681+ fi
658682 java -jar benchbase.jar -b ${{matrix.benchmark}} -c config/sqlserver/sample_${{matrix.benchmark}}_config.xml -im 1000 -mt advanced --create=true --load=true --execute=true --json-histograms results/histograms.json
659683 fi
660684
0 commit comments