Skip to content

Commit 9bfed00

Browse files
committed
chore(ci): add benchmark result for large
1 parent 9926562 commit 9bfed00

File tree

3 files changed

+23
-16
lines changed

3 files changed

+23
-16
lines changed

.github/actions/benchmark_cloud/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,8 @@ runs:
9393
exit 1
9494
esac
9595
jq ".cluster_size = \"${BENCHMARK_CLUSTER_SIZE}\"" <result.json >result.json.tmp && mv result.json.tmp result.json
96-
jq ".machine = \"${{ inputs.size }}\"" <result.json >result.json.tmp && mv result.json.tmp result.json
97-
jq ".tags = [\"${BENCHMARK_TYPE}\", \"serverless\"]" <result.json >result.json.tmp && mv result.json.tmp result.json
96+
jq ".machine = \"${BENCHMARK_CLUSTER_SIZE}×${{ inputs.size }}\"" <result.json >result.json.tmp && mv result.json.tmp result.json
97+
jq ".tags = [\"${BENCHMARK_TYPE}\", \"s3\"]" <result.json >result.json.tmp && mv result.json.tmp result.json
9898
jq ".comment = \"commit:${{ inputs.sha }}\"" <result.json >result.json.tmp && mv result.json.tmp result.json
9999
mv result.json result-${{ inputs.dataset }}-cloud-${{ inputs.size }}.json
100100

.github/actions/benchmark_local/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ runs:
5353
esac
5454
jq ".system = \"${BENCHMARK_SYSTEM}\"" <result.json >result.json.tmp && mv result.json.tmp result.json
5555
jq ".date = \"$(date -u +%Y-%m-%d)\"" <result.json >result.json.tmp && mv result.json.tmp result.json
56-
jq ".machine = \"c5.4xlarge,gp3\"" <result.json >result.json.tmp && mv result.json.tmp result.json
56+
jq ".machine = \"c5.4xlarge\"" <result.json >result.json.tmp && mv result.json.tmp result.json
5757
jq ".cluster_size = 1" <result.json >result.json.tmp && mv result.json.tmp result.json
5858
jq ".comment = \"commit:${{ inputs.sha }}\"" <result.json >result.json.tmp && mv result.json.tmp result.json
5959
jq ".tags = [\"${BENCHMARK_TYPE}\", \"gp3\"]" <result.json >result.json.tmp && mv result.json.tmp result.json

.github/workflows/trusted-benchmark.yml

Lines changed: 20 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -97,14 +97,14 @@ jobs:
9797
status: queued
9898
title: "Benchmark Cloud for hits with Large warehouse"
9999
summary: "status: **queued**"
100-
# - uses: ./.github/actions/create_check_status
101-
# with:
102-
# github_token: ${{ secrets.GITHUB_TOKEN }}
103-
# sha: ${{ steps.metadata.outputs.sha }}
104-
# name: 'Benchmark Cloud / tpch(Large)'
105-
# status: queued
106-
# title: "Benchmark Cloud for tpch with Large warehouse"
107-
# summary: "status: **queued**"
100+
- uses: ./.github/actions/create_check_status
101+
with:
102+
github_token: ${{ secrets.GITHUB_TOKEN }}
103+
sha: ${{ steps.metadata.outputs.sha }}
104+
name: 'Benchmark Cloud / tpch(Large)'
105+
status: queued
106+
title: "Benchmark Cloud for tpch with Large warehouse"
107+
summary: "status: **queued**"
108108

109109
local:
110110
needs: metadata
@@ -236,10 +236,6 @@ jobs:
236236
size:
237237
- Medium
238238
- Large
239-
# TODO: add back after optimization
240-
exclude:
241-
- dataset: tpch
242-
size: Large
243239
fail-fast: true
244240
max-parallel: 1
245241
steps:
@@ -299,6 +295,10 @@ jobs:
299295
with:
300296
name: benchmark-hits-cloud-Medium
301297
path: benchmark/clickbench/results/hits
298+
- uses: actions/download-artifact@v3
299+
with:
300+
name: benchmark-hits-cloud-Large
301+
path: benchmark/clickbench/results/hits
302302
- uses: actions/download-artifact@v3
303303
with:
304304
name: benchmark-tpch-local
@@ -307,6 +307,10 @@ jobs:
307307
with:
308308
name: benchmark-tpch-cloud-Medium
309309
path: benchmark/clickbench/results/tpch
310+
- uses: actions/download-artifact@v3
311+
with:
312+
name: benchmark-tpch-cloud-Large
313+
path: benchmark/clickbench/results/tpch
310314
- name: Get Report Prefix
311315
run: |
312316
echo "REPORT_S3_PREFIX=${{ env.BENCHMARK_S3_PREFIX }}/pr/${{ needs.metadata.outputs.source_id }}/${{ needs.metadata.outputs.run_id }}" >> $GITHUB_ENV
@@ -316,8 +320,10 @@ jobs:
316320
run: |
317321
aws s3 cp ./results/hits/result-hits-local.json ${{ env.REPORT_S3_PREFIX }}/hits-local.json
318322
aws s3 cp ./results/hits/result-hits-cloud-Medium.json ${{ env.REPORT_S3_PREFIX }}/hits-cloud-Medium.json
323+
aws s3 cp ./results/hits/result-hits-cloud-Large.json ${{ env.REPORT_S3_PREFIX }}/hits-cloud-Large.json
319324
aws s3 cp ./results/tpch/result-tpch-local.json ${{ env.REPORT_S3_PREFIX }}/tpch-local.json
320325
aws s3 cp ./results/tpch/result-tpch-cloud-Medium.json ${{ env.REPORT_S3_PREFIX }}/tpch-cloud-Medium.json
326+
aws s3 cp ./results/tpch/result-tpch-cloud-Large.json ${{ env.REPORT_S3_PREFIX }}/tpch-cloud-Large.json
321327
- name: Get latest release clickbench result
322328
working-directory: benchmark/clickbench
323329
run: |
@@ -340,7 +346,8 @@ jobs:
340346
token: ${{ github.token }}
341347
body: |
342348
![local](https://img.shields.io/static/v1?label=AWS%20EC2&message=c5.4xlarge&color=orange&logo=amazonec2)
343-
![cloud](https://img.shields.io/static/v1?label=DatabendCloud&message=Medium&color=blue&logo=icloud)
349+
![cloud](https://img.shields.io/static/v1?label=Databend%20Cloud&message=Medium&color=blue&logo=icloud)
350+
![cloud](https://img.shields.io/static/v1?label=Databend%20Cloud&message=Large&color=blue&logo=icloud)
344351
## ClickBench Report
345352
* **hits**: ${{ env.REPORT_URL_PREFIX }}/hits.html
346353
* **tpch**: ${{ env.REPORT_URL_PREFIX }}/tpch.html

0 commit comments

Comments
 (0)