Skip to content

Commit

Permalink
ci: add benchmarks
Browse files Browse the repository at this point in the history
  • Loading branch information
BiagioFesta committed Dec 29, 2023
1 parent 785be7c commit e1b72f8
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,3 +80,11 @@ jobs:
uses: aig787/cargo-udeps-action@v1
with:
args: "--all-targets"

benches:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: boa-dev/criterion-compare-action@v3
with:
branchName: ${{ github.base_ref }}
3 changes: 3 additions & 0 deletions wtransport-proto/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ readme = "../README.md"
workspace = ".."
rust-version = "1.70"

[lib]
bench = false

[[bench]]
name = "datagram"
harness = false
Expand Down
3 changes: 3 additions & 0 deletions wtransport/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ readme = "../README.md"
workspace = ".."
rust-version = "1.70"

[lib]
bench = false

[[example]]
name = "client"
required-features = ["dangerous-configuration"]
Expand Down

0 comments on commit e1b72f8

Please sign in to comment.