Skip to content

Commit

Permalink
Factor out benchmark workflow and enable manual trigger for it (#3144)
Browse files Browse the repository at this point in the history
  • Loading branch information
mewim committed Mar 26, 2024
1 parent 4d21128 commit 80b3e94
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 12 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/benchmark-workflow.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Benchmark
on:
workflow_dispatch:
workflow_call:

jobs:
benchmark:
name: benchmark
env:
NUM_THREADS: 30
GEN: ninja
runs-on: kuzu-self-hosted-benchmarking
steps:
- uses: actions/checkout@v3

- name: Build
run: make benchmark LTO=1

- name: Benchmark
run: python3 benchmark/benchmark_runner.py --dataset ldbc-sf100 --thread 10
13 changes: 1 addition & 12 deletions .github/workflows/ci-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -377,18 +377,7 @@ jobs:
benchmark:
name: benchmark
needs: [gcc-build-test, clang-build-test]
env:
NUM_THREADS: 30
GEN: ninja
runs-on: kuzu-self-hosted-benchmarking
steps:
- uses: actions/checkout@v3

- name: Build
run: make benchmark LTO=1

- name: Benchmark
run: python3 benchmark/benchmark_runner.py --dataset ldbc-sf100 --thread 10
uses: ./.github/workflows/benchmark-workflow.yml

macos-clang-tidy:
name: macos clang tidy & clangd diagnostics check
Expand Down

0 comments on commit 80b3e94

Please sign in to comment.