From 64d98f8ee037282c35007b64c2649055c56af1db Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 17 Apr 2024 14:19:03 +0200 Subject: Merging upstream version 1.68.2+dfsg1. Signed-off-by: Daniel Baumann --- vendor/sha1/benches/mod.rs | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 vendor/sha1/benches/mod.rs (limited to 'vendor/sha1/benches/mod.rs') diff --git a/vendor/sha1/benches/mod.rs b/vendor/sha1/benches/mod.rs new file mode 100644 index 000000000..5c52e954c --- /dev/null +++ b/vendor/sha1/benches/mod.rs @@ -0,0 +1,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; +); -- cgit v1.2.3