-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix benchmark results caching issue (#24)
* Use different artifact to prevent conflicts * Update Benchmark Plots * LS * Update Benchmark Plots * Delete .svg before downloading artifacts * Update Benchmark Results * Verbose rm * Update Benchmark Results * Wtf it does not work ? * Update Benchmark Results * Add fricking LS back * Update Benchmark Results * Try using buildjet cache instead * Update Benchmark Results * Fix CI --------- Co-authored-by: Olivier Giniaux <[email protected]> Co-authored-by: Benchmark Bot <[email protected]>
- Loading branch information
1 parent
e377038
commit 7482b7e
Showing
4 changed files
with
11 additions
and
548 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 |
---|---|---|
|
@@ -23,9 +23,9 @@ jobs: | |
- name: Benchmark AVX2 (nightly) | ||
run: cargo bench --bench throughput --features 'bench-plot avx2' | ||
|
||
- uses: actions/upload-artifact@v3 | ||
- uses: buildjet/cache@v3 | ||
with: | ||
name: benches | ||
key: benches-${{ github.sha }} | ||
path: benches/throughput/*.svg | ||
|
||
benchmark-arm: | ||
|
@@ -38,9 +38,9 @@ jobs: | |
- name: Benchmark | ||
run: cargo bench --bench throughput --features 'bench-plot' | ||
|
||
- uses: actions/upload-artifact@v3 | ||
- uses: buildjet/cache@v3 | ||
with: | ||
name: benches | ||
key: benches-${{ github.sha }} | ||
path: benches/throughput/*.svg | ||
|
||
commit: | ||
|
@@ -53,18 +53,21 @@ jobs: | |
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Delete Previous Benchmark Results | ||
run: rm -v benches/throughput/*.svg | ||
|
||
- name: Download Benchmark Results | ||
uses: actions/download-artifact@v3 | ||
uses: buildjet/cache@v3 | ||
with: | ||
name: benches | ||
key: benches-${{ github.sha }} | ||
path: benches/throughput | ||
|
||
- name: Commit & Push Plots | ||
- name: Commit & Push Benchmark Results | ||
uses: stefanzweifel/git-auto-commit-action@v5 | ||
with: | ||
commit_message: Update Benchmark Plots | ||
file_pattern: '*.svg' | ||
commit_message: Update Benchmark Results | ||
commit_user_name: Benchmark Bot | ||
commit_user_email: [email protected] | ||
commit_author: Benchmark Bot <[email protected]> | ||
|
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.