interplane.Get Omega
Read in your language

aienux

Aienux, the AienOS kernel: boot, scheduling, IPC and capability boundaries. Pre-alpha; host, emulator and physical evidence are labelled separately.

Brought by drakestapleton

branch main Branches Tags History

aienux / vendor / sha2 / benches / mod.rs

22 lines · 363 bytes Raw Blame History
1#![feature(test)]
2extern crate test;
3
4use digest::bench_update;
5use sha2::{Sha256, Sha512};
6use test::Bencher;
7
8bench_update!(
9 Sha256::default();
10 sha256_10 10;
11 sha256_100 100;
12 sha256_1000 1000;
13 sha256_10000 10000;
14);
15
16bench_update!(
17 Sha512::default();
18 sha512_10 10;
19 sha512_100 100;
20 sha512_1000 1000;
21 sha512_10000 10000;
22);