mirror of
https://github.com/chatmail/core.git
synced 2026-05-19 23:06:32 +03:00
Benchmark fewer emails to make the benchmark complete faster
This commit is contained in:
@@ -33,17 +33,6 @@ async fn recv_all_emails(mut context: Context, needs_move_enabled: bool) -> Cont
|
|||||||
let emails = [
|
let emails = [
|
||||||
include_bytes!("../test-data/message/allinkl-quote.eml").as_ref(),
|
include_bytes!("../test-data/message/allinkl-quote.eml").as_ref(),
|
||||||
include_bytes!("../test-data/message/apple_cid_jpg.eml").as_ref(),
|
include_bytes!("../test-data/message/apple_cid_jpg.eml").as_ref(),
|
||||||
include_bytes!("../test-data/message/attach_filename_apostrophed_cont.eml").as_ref(),
|
|
||||||
include_bytes!("../test-data/message/attach_filename_apostrophed_cp1252.eml").as_ref(),
|
|
||||||
include_bytes!("../test-data/message/attach_filename_apostrophed.eml").as_ref(),
|
|
||||||
include_bytes!("../test-data/message/attach_filename_apostrophed_invalid.eml").as_ref(),
|
|
||||||
include_bytes!("../test-data/message/attach_filename_apostrophed_windows1251.eml").as_ref(),
|
|
||||||
include_bytes!("../test-data/message/attach_filename_combined.eml").as_ref(),
|
|
||||||
include_bytes!("../test-data/message/attach_filename_encoded_words_bad_delimiter.eml")
|
|
||||||
.as_ref(),
|
|
||||||
include_bytes!("../test-data/message/attach_filename_encoded_words_binary.eml").as_ref(),
|
|
||||||
include_bytes!("../test-data/message/attach_filename_encoded_words_cont.eml").as_ref(),
|
|
||||||
include_bytes!("../test-data/message/attach_filename_encoded_words.eml").as_ref(),
|
|
||||||
include_bytes!("../test-data/message/attach_filename_encoded_words_windows1251.eml")
|
include_bytes!("../test-data/message/attach_filename_encoded_words_windows1251.eml")
|
||||||
.as_ref(),
|
.as_ref(),
|
||||||
include_bytes!("../test-data/message/attach_filename_simple.eml").as_ref(),
|
include_bytes!("../test-data/message/attach_filename_simple.eml").as_ref(),
|
||||||
@@ -51,44 +40,17 @@ async fn recv_all_emails(mut context: Context, needs_move_enabled: bool) -> Cont
|
|||||||
include_bytes!("../test-data/message/blockquote-tag.eml").as_ref(),
|
include_bytes!("../test-data/message/blockquote-tag.eml").as_ref(),
|
||||||
include_bytes!("../test-data/message/cp1252-html.eml").as_ref(),
|
include_bytes!("../test-data/message/cp1252-html.eml").as_ref(),
|
||||||
include_bytes!("../test-data/message/gmail_ndn.eml").as_ref(),
|
include_bytes!("../test-data/message/gmail_ndn.eml").as_ref(),
|
||||||
include_bytes!("../test-data/message/gmail_ndn_group.eml").as_ref(),
|
|
||||||
include_bytes!("../test-data/message/gmx-forward.eml").as_ref(),
|
|
||||||
include_bytes!("../test-data/message/gmx_ndn.eml").as_ref(),
|
|
||||||
include_bytes!("../test-data/message/gmx-quote-body.eml").as_ref(),
|
|
||||||
include_bytes!("../test-data/message/gmx-quote.eml").as_ref(),
|
include_bytes!("../test-data/message/gmx-quote.eml").as_ref(),
|
||||||
include_bytes!("../test-data/message/mail_attach_txt.eml").as_ref(),
|
include_bytes!("../test-data/message/mail_attach_txt.eml").as_ref(),
|
||||||
include_bytes!("../test-data/message/mailinglist_dhl.eml").as_ref(),
|
|
||||||
include_bytes!("../test-data/message/mailinglist_dpd.eml").as_ref(),
|
|
||||||
include_bytes!("../test-data/message/mailinglist_ttline.eml").as_ref(),
|
|
||||||
include_bytes!("../test-data/message/mailinglist_with_mimepart_footer.eml").as_ref(),
|
|
||||||
include_bytes!("../test-data/message/mailinglist_with_mimepart_footer_signed.eml").as_ref(),
|
|
||||||
include_bytes!("../test-data/message/mailinglist_xing.eml").as_ref(),
|
|
||||||
include_bytes!("../test-data/message/mailinglist_xt_local_microsoft.eml").as_ref(),
|
|
||||||
include_bytes!("../test-data/message/mailinglist_xt_local_spiegel.eml").as_ref(),
|
include_bytes!("../test-data/message/mailinglist_xt_local_spiegel.eml").as_ref(),
|
||||||
include_bytes!("../test-data/message/mail_with_user_and_group_avatars.eml").as_ref(),
|
include_bytes!("../test-data/message/mail_with_user_and_group_avatars.eml").as_ref(),
|
||||||
include_bytes!("../test-data/message/mail_with_user_avatar_deleted.eml").as_ref(),
|
|
||||||
include_bytes!("../test-data/message/mail_with_user_avatar.eml").as_ref(),
|
|
||||||
include_bytes!("../test-data/message/many_images_amazon_via_apple_mail.eml").as_ref(),
|
|
||||||
include_bytes!("../test-data/message/pdf_filename_continuation.eml").as_ref(),
|
include_bytes!("../test-data/message/pdf_filename_continuation.eml").as_ref(),
|
||||||
include_bytes!("../test-data/message/pdf_filename_simple.eml").as_ref(),
|
|
||||||
include_bytes!("../test-data/message/posteo_ndn.eml").as_ref(),
|
|
||||||
include_bytes!("../test-data/message/protonmail-mixed-up.eml").as_ref(),
|
|
||||||
include_bytes!("../test-data/message/protonmail-repaired.eml").as_ref(),
|
include_bytes!("../test-data/message/protonmail-repaired.eml").as_ref(),
|
||||||
include_bytes!("../test-data/message/quote_attach.eml").as_ref(),
|
|
||||||
include_bytes!("../test-data/message/subj_with_multimedia_msg.eml").as_ref(),
|
include_bytes!("../test-data/message/subj_with_multimedia_msg.eml").as_ref(),
|
||||||
include_bytes!("../test-data/message/testrun_ndn_2.eml").as_ref(),
|
|
||||||
include_bytes!("../test-data/message/testrun_ndn.eml").as_ref(),
|
|
||||||
include_bytes!("../test-data/message/text_alt_html.eml").as_ref(),
|
|
||||||
include_bytes!("../test-data/message/text_alt_plain.eml").as_ref(),
|
|
||||||
include_bytes!("../test-data/message/text_alt_plain_html.eml").as_ref(),
|
include_bytes!("../test-data/message/text_alt_plain_html.eml").as_ref(),
|
||||||
include_bytes!("../test-data/message/text_html.eml").as_ref(),
|
include_bytes!("../test-data/message/text_html.eml").as_ref(),
|
||||||
include_bytes!("../test-data/message/text_plain_flowed.eml").as_ref(),
|
|
||||||
include_bytes!("../test-data/message/text_plain_iso88591.eml").as_ref(),
|
|
||||||
include_bytes!("../test-data/message/text_plain_unspecified.eml").as_ref(),
|
|
||||||
include_bytes!("../test-data/message/tiscali_ndn.eml").as_ref(),
|
|
||||||
include_bytes!("../test-data/message/videochat_invitation.eml").as_ref(),
|
include_bytes!("../test-data/message/videochat_invitation.eml").as_ref(),
|
||||||
include_bytes!("../test-data/message/wrong-html.eml").as_ref(),
|
include_bytes!("../test-data/message/wrong-html.eml").as_ref(),
|
||||||
include_bytes!("../test-data/message/yahoo_ndn.eml").as_ref(),
|
|
||||||
];
|
];
|
||||||
recv_emails(context, &emails).await
|
recv_emails(context, &emails).await
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user