Unverified Commit 6f07684a authored by Donny/강동윤's avatar Donny/강동윤 Committed by GitHub

chore(ci): Add large benchmark (#79793)

### What?

Configure a large benchmark for turbopack.

### Why?

We may want to run a full benchmark for some PRs.
parent 21182268
...@@ -49,3 +49,28 @@ jobs: ...@@ -49,3 +49,28 @@ jobs:
with: with:
run: cargo codspeed run run: cargo codspeed run
token: ${{ secrets.CODSPEED_TOKEN }} token: ${{ secrets.CODSPEED_TOKEN }}
benchmark-large:
name: Benchmark Rust Crates (large)
# If the task is triggered manually, we want to run the large benchmarks
if: ${{ github.event_name == 'workflow_dispatch' }}
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Setup Rust toolchain
uses: ./.github/actions/setup-rust
- name: Install cargo-codspeed
uses: taiki-e/install-action@v2
with:
tool: cargo-codspeed@2.10.1
- name: Build the benchmark target(s)
run: cargo codspeed build -p turbopack -p turbopack-bench
- name: Run the benchmarks
uses: CodSpeedHQ/action@v3
with:
run: cargo codspeed run
token: ${{ secrets.CODSPEED_TOKEN }}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment