meli/benches/parse.rs
Manos Pitsidianakis d5c0542f61
Update benches
2019-06-10 19:40:26 +03:00

21 lines
458 B
Rust

#![feature(test)]
extern crate melib;
use melib::mailbox::backends::maildir::MaildirOp;
use melib::mailbox::backends::BackendOpGenerator;
use melib::mailbox::email::Envelope;
extern crate test;
use self::test::Bencher;
/*
#[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()))
}))))
});
}
*/