meli/benches/parse.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

20 lines
424 B
Rust
Raw Normal View History

2019-04-04 11:21:52 +00:00
//#![feature(test)]
//extern crate melib;
//
//use melib::mailbox::backends::maildir::MaildirOp;
//use melib::mailbox::email::Envelope;
//
//extern crate test;
//use self::test::Bencher;
2018-08-04 17:30:21 +00:00
/*
#[bench]
fn mail_parse(b: &mut Bencher) {
b.iter(|| {
Envelope::from(Box::new(BackendOpGenerator::new(Box::new(move || {
Box::new(MaildirOp::new("test/attachment_test".to_string()))
}))))
});
}
2018-08-04 17:30:21 +00:00
*/