Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/aienux/blob/main/vendor/sha2/benches/mod.rs # aienux Aienux, the AienOS kernel: boot, scheduling, IPC and capability boundaries. Pre-alpha; host, emulator and physical evidence are labelled separately. Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `aienux / vendor / sha2 / benches / mod.rs` 22 lines ยท 363 bytes Raw Blame History 1 #![feature(test)] 2 extern crate test; 3 4 use digest::bench_update; 5 use sha2::{Sha256, Sha512}; 6 use test::Bencher; 7 8 bench_update!( 9 Sha256::default(); 10 sha256_10 10; 11 sha256_100 100; 12 sha256_1000 1000; 13 sha256_10000 10000; 14 ); 15 16 bench_update!( 17 Sha512::default(); 18 sha512_10 10; 19 sha512_100 100; 20 sha512_1000 1000; 21 sha512_10000 10000; 22 );