rust/benches/repeat.rs

17 lines
305 B
Rust
Raw Normal View History

#![feature(test, rustc_private)]
extern crate test;
2018-11-17 05:24:27 -06:00
use crate::test::Bencher;
mod helpers;
2018-11-17 05:24:27 -06:00
use crate::helpers::*;
#[bench]
fn repeat(bencher: &mut Bencher) {
miri_helper::run("repeat", bencher);
}
#[bench]
fn repeat_manual(bencher: &mut Bencher) {
miri_helper::run("repeat_manual", bencher);
}