Skip to content

Commit

Permalink
ci(bench): added wasm-opt config to basic example
Browse files Browse the repository at this point in the history
This will also test the benchmarking system.
  • Loading branch information
arctic-hen7 committed Jul 11, 2022
1 parent 7b3ff88 commit d240b84
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/bench.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,6 @@ jobs:
fail-on-alert: true
# GitHub API token to make a commit comment
github-token: ${{ secrets.GITHUB_TOKEN }}
alert-threshold: "200%"
alert-threshold: "110%"
comment-on-alert: true
alert-comment-cc-users: '@arctic-hen7' # We need this kind of quoting, `@` is special in YAML
3 changes: 3 additions & 0 deletions examples/core/basic/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,6 @@ crate-type = [ "cdylib", "rlib" ]
[[bin]]
name = "perseus-example-basic"
path = "src/lib.rs"

[package.metadata.wasm-pack.profile.release]
wasm-opt = [ "-Oz" ]

0 comments on commit d240b84

Please sign in to comment.