mirror of
https://git.meli.delivery/meli/meli
synced 2024-11-19 03:25:38 +00:00
20 lines
424 B
Rust
20 lines
424 B
Rust
//#![feature(test)]
|
|
//extern crate melib;
|
|
//
|
|
//use melib::mailbox::backends::maildir::MaildirOp;
|
|
//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()))
|
|
}))))
|
|
});
|
|
}
|
|
*/
|