Skip to content

Commit a299f50

Browse files
authored
Revert "Add support for Codspeed performance testing (#20)" (#21)
This reverts commit bcfd143.
1 parent bcfd143 commit a299f50

File tree

4 files changed

+11
-135
lines changed

4 files changed

+11
-135
lines changed

.github/workflows/ml-kem.yml

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ on:
88
- "Cargo.*"
99
push:
1010
branches: master
11-
workflow-dispatch:
1211

1312
defaults:
1413
run:
@@ -22,7 +21,7 @@ jobs:
2221
set-msrv:
2322
uses: RustCrypto/actions/.github/workflows/set-msrv.yml@master
2423
with:
25-
msrv: 1.76.0
24+
msrv: 1.74.0
2625

2726
no_std:
2827
needs: set-msrv
@@ -70,23 +69,6 @@ jobs:
7069
- run: cargo test
7170
- run: cargo test --all-features
7271

73-
bench:
74-
needs: set-msrv
75-
runs-on: ubuntu-latest
76-
steps:
77-
- uses: actions/checkout@v4
78-
- uses: RustCrypto/actions/cargo-cache@master
79-
- uses: dtolnay/rust-toolchain@master
80-
with:
81-
toolchain: stable
82-
- run: cargo install cargo-codspeed
83-
- run: cargo codspeed build
84-
- name: Run benchmarks
85-
uses: CodSpeedHQ/action@v2
86-
with:
87-
token: ${{ secrets.CODSPEED_TOKEN }}
88-
run: cargo codspeed run
89-
9072
cross:
9173
needs: set-msrv
9274
strategy:

Cargo.lock

Lines changed: 9 additions & 114 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ml-kem/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ hex = "0.4.3"
3030
hex-literal = "0.4.1"
3131
rand = "0.8.5"
3232
crypto-common = { version = "0.1.6", features = ["rand_core"] }
33-
codspeed-criterion-compat = "2.6.0"
3433

3534
[[bench]]
3635
name = "mlkem"

ml-kem/benches/mlkem.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
use ::kem::{Decapsulate, Encapsulate};
2-
use codspeed_criterion_compat::{criterion_group, criterion_main, Criterion};
2+
use criterion::{criterion_group, criterion_main, Criterion};
33
use crypto_common::rand_core::CryptoRngCore;
44
use hybrid_array::{Array, ArraySize};
55
use ml_kem::*;

0 commit comments

Comments
 (0)