mirror of
https://github.com/telemt/telemt.git
synced 2026-04-15 01:24:09 +03:00
Update crypto_bench.rs
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
// Cryptobench
|
||||
use criterion::{black_box, criterion_group, Criterion};
|
||||
use criterion::{Criterion, black_box, criterion_group};
|
||||
|
||||
fn bench_aes_ctr(c: &mut Criterion) {
|
||||
c.bench_function("aes_ctr_encrypt_64kb", |b| {
|
||||
@@ -9,4 +9,4 @@ fn bench_aes_ctr(c: &mut Criterion) {
|
||||
black_box(enc.encrypt(&data))
|
||||
})
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user