guile-email discussion
 help / color / mirror / Atom feed
* [guile-email] slow parse of email with huge attachment
@ 2020-05-17 22:06 Ricardo Wurmus
  2020-05-18  1:13 ` Arun Isaac
  0 siblings, 1 reply; 10+ messages in thread
From: Ricardo Wurmus @ 2020-05-17 22:06 UTC (permalink / raw)
  To: guile-email

Hi,

bug 35518 contains an email with a 11+MB attachment.  Viewing this in
the classic Debbugs web interface takes around 7 seconds:

    https://debbugs.gnu.org/cgi/bugreport.cgi?bug=35518

On mumi this times out.  I benchmarked just the parsing step for all
emails in that bug log and I see around 0.1s used by my pre-processing
step (splitting the log at control characters) and around 8 seconds for
parse-email.

With all the slow, unoptimized post processing that I’m doing to render
things we hit around 14 seconds for this issue.

I wonder if parse-email could possibly be made even faster.

-- 
Ricardo

-- 
guile-email mailing list
guile-email@systemreboot.net
https://lists.systemreboot.net/listinfo/guile-email

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2020-05-25 18:02 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-17 22:06 [guile-email] slow parse of email with huge attachment Ricardo Wurmus
2020-05-18  1:13 ` Arun Isaac
2020-05-18  1:13   ` Arun Isaac
2020-05-18 20:50   ` Ricardo Wurmus
2020-05-19  2:33     ` Arun Isaac
2020-05-19  2:33       ` Arun Isaac
2020-05-25 14:52     ` Arun Isaac
2020-05-25 14:52       ` Arun Isaac
2020-05-25 15:08       ` Arun Isaac
2020-05-25 15:08         ` Arun Isaac

guile-email discussion

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lists.systemreboot.net/guile-email/0 guile-email/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 guile-email guile-email/ http://lists.systemreboot.net/guile-email \
		guile-email@systemreboot.net
	public-inbox-index guile-email

Example config snippet for mirrors.


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git