use bencher::Bencher; use num_bigint::BigUint; pub fn baseline(b: &mut Bencher) { b.iter(|| { let num: BigUint = super::BASELINE.parse::().unwrap(); assert_eq!(num.to_string(), super::BASELINE); }); } pub fn big_num(b: &mut Bencher) { b.iter(|| { let num: BigUint = super::BIG_NUM.parse::().unwrap(); assert_eq!(num.to_string(), super::BIG_NUM); }); }