Skip to content

Commit 1582a73

Browse files
committed
Fixes
1 parent fdaf47f commit 1582a73

6 files changed

Lines changed: 10 additions & 12 deletions

File tree

.github/workflows/codspeed.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,14 @@ jobs:
4747
with:
4848
minimum-version: ${{ steps.nss-version.outputs.minimum }}
4949

50+
- run: |
51+
for crate in $(cargo metadata --no-deps --format-version 1 | jq -r '.packages[].name'); do
52+
[ -e "$crate/benches" ] && cargo codspeed build --package "$crate" --locked --features bench
53+
done
54+
5055
- name: Run the benchmarks
5156
uses: CodSpeedHQ/action@4348f634fa7309fe23aac9502e88b999ec90a164 # v4.3.1
5257
with:
5358
mode: instrumentation
54-
run: cargo codspeed run --features bench
59+
run: cargo codspeed run
5560
token: ${{ secrets.CODSPEED_TOKEN }}

neqo-bin/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ url = { workspace = true }
5454
[dev-dependencies]
5555
criterion = { version = "4.0", package = "codspeed-criterion-compat", default-features = false, features = [
5656
"async_tokio",
57-
"cargo_bench_support",
5857
] }
5958
neqo-bin = { path = ".", features = ["draft-29"] }
6059
neqo-http3 = { path = "./../neqo-http3", features = ["draft-29"] }

neqo-common/Cargo.toml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,7 @@ thiserror = { workspace = true }
2828
windows = { workspace = true, features = ["Win32_Media"] }
2929

3030
[dev-dependencies]
31-
criterion = { version = "4.0", package = "codspeed-criterion-compat", default-features = false, features = [
32-
"cargo_bench_support",
33-
] }
31+
criterion = { version = "4.0", package = "codspeed-criterion-compat", default-features = false }
3432
neqo-crypto = { path = "../neqo-crypto" }
3533
test-fixture = { path = "../test-fixture" }
3634
regex = { workspace = true }

neqo-http3/Cargo.toml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,7 @@ thiserror = { workspace = true }
3333
url = { workspace = true }
3434

3535
[dev-dependencies]
36-
criterion = { version = "4.0", package = "codspeed-criterion-compat", default-features = false, features = [
37-
"cargo_bench_support",
38-
] }
36+
criterion = { version = "4.0", package = "codspeed-criterion-compat", default-features = false }
3937
neqo-http3 = { path = ".", features = ["draft-29"] }
4038
neqo-transport = { path = "./../neqo-transport", features = ["draft-29"] }
4139
test-fixture = { path = "../test-fixture" }

neqo-http3/benches/streams.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ fn criterion_benchmark(c: &mut Criterion) {
6363
group.finish();
6464
}
6565

66-
Criterion::default().configure_from_args().final_summary();
66+
//FIXME: This fails with codspeed: Criterion::default().configure_from_args().final_summary();
6767
}
6868

6969
criterion_group!(benches, criterion_benchmark);

neqo-transport/Cargo.toml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,7 @@ strum = { workspace = true }
3232
thiserror = { workspace = true }
3333

3434
[dev-dependencies]
35-
criterion = { version = "4.0", package = "codspeed-criterion-compat", default-features = false, features = [
36-
"cargo_bench_support",
37-
] }
35+
criterion = { version = "4.0", package = "codspeed-criterion-compat", default-features = false }
3836
neqo-transport = { path = ".", features = ["draft-29"] }
3937
test-fixture = { path = "../test-fixture" }
4038

0 commit comments

Comments
 (0)