-
-
Notifications
You must be signed in to change notification settings - Fork 501
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c4f1425
commit 5b7cc71
Showing
1 changed file
with
5 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -39,22 +39,22 @@ jobs: | |
run: | | ||
cargo install [email protected] | ||
- name: Checkout main branch | ||
- name: Checkout master branch | ||
run: | | ||
git fetch origin main:main | ||
git checkout main | ||
git fetch origin master:master | ||
git checkout master | ||
- name: Run baseline benchmarks | ||
run: | | ||
cargo bench --bench compile_demo_art --features=iai -- --save-baseline=main | ||
cargo bench --bench compile_demo_art --features=iai -- --save-baseline=master | ||
- name: Checkout PR branch | ||
run: | | ||
git checkout ${{ github.event.pull_request.head.sha }} | ||
- name: Run PR benchmarks | ||
run: | | ||
cargo bench --bench compile_demo_art --features=iai -- --baseline main > benchmark_results.txt | ||
cargo bench --bench compile_demo_art --features=iai -- --baseline master > benchmark_results.txt | ||
- name: Parse benchmark results | ||
id: parse_results | ||
|