☰
Debian Codegraph
@
1.4.4-1
/
/
.cargo
/
vendor
/
sha1
/
benches
/
mod.rs
☽
☼
.cargo/vendor/sha1/benches/mod.rs
code
plain
raw
Apache-2.0-Expat
2006-2009, Graydon Hoare; 2009-2013, Mozilla Foundation; 2016, Artyom Pavlov
debian/copyright
1
#![feature(test)]
2
extern crate test;
3
4
use digest::bench_update;
5
use sha1::Sha1;
6
use test::Bencher;
7
8
bench_update!(
9
Sha1::default();
10
sha1_10 10;
11
sha1_100 100;
12
sha1_1000 1000;
13
sha1_10000 10000;
14
);