-
Notifications
You must be signed in to change notification settings - Fork 166
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'dojo/main' into pr-1454
- Loading branch information
Showing
74 changed files
with
4,619 additions
and
1,398 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
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 |
---|---|---|
@@ -0,0 +1,33 @@ | ||
name: benchmark | ||
|
||
on: | ||
push: | ||
branches: [main] | ||
|
||
permissions: | ||
# deployments permission to deploy GitHub pages website | ||
deployments: write | ||
# contents permission to update benchmark contents in gh-pages branch | ||
contents: write | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
container: | ||
image: ghcr.io/dojoengine/dojo-dev:5d61184 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- run: git config --global --add safe.directory "$GITHUB_WORKSPACE" | ||
- run: cargo bench --bench codec -- --output-format bencher |sed 1d | tee output.txt | ||
- uses: benchmark-action/github-action-benchmark@v1 | ||
with: | ||
tool: "cargo" | ||
output-file-path: output.txt | ||
benchmark-data-dir-path: "." | ||
# Access token to deploy GitHub Pages branch | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
# Push and deploy GitHub pages branch automatically | ||
auto-push: true | ||
alert-threshold: "130%" | ||
comment-on-alert: true | ||
alert-comment-cc-users: "@kariy,@glihm,@tarrencev" |
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
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
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
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 |
---|---|---|
|
@@ -9,3 +9,4 @@ dojo.iml | |
.env | ||
data | ||
crates/benches/gas_usage.txt | ||
output.txt |
Oops, something went wrong.