summaryrefslogtreecommitdiffstats
path: root/third_party/rust/sha1/benches/mod.rs
blob: 5c52e954cbfcdfc51334c60532914f38601bb6ad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#![feature(test)]
extern crate test;

use digest::bench_update;
use sha1::Sha1;
use test::Bencher;

bench_update!(
    Sha1::default();
    sha1_10 10;
    sha1_100 100;
    sha1_1000 1000;
    sha1_10000 10000;
);