Skip to content

Commit

Permalink
ci: try improve benchmark build time by relaxing debug info and lto
Browse files Browse the repository at this point in the history
relates #3200
  • Loading branch information
Boshen committed May 7, 2024
1 parent 7363e14 commit 75bff60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ jobs:
- name: Build benchmark
env:
RUSTFLAGS: "-C debuginfo=2 -C strip=none -g --cfg codspeed"
RUSTFLAGS: "-C debuginfo=1 -C strip=none -C lto=thin -C embed-bitcode=yes -g --cfg codspeed"
shell: bash
run: |
cargo build --release -p oxc_benchmark --bench ${{ matrix.component }} --features codspeed
Expand Down

0 comments on commit 75bff60

Please sign in to comment.