From mboxrd@z Thu Jan 1 00:00:00 1970 From: wmorgan-sup@masanjin.net (William Morgan) Date: Sat, 15 Dec 2007 11:25:45 -0800 Subject: [sup-talk] Using DTrace to profile sup-sync In-Reply-To: References: Message-ID: <1197745662-sup-1441@south> Excerpts from Jjgod Jiang's message of Sat Dec 15 07:05:04 -0800 2007: > When I was trying to build index for my GMail account (which has 28525 > mails in inbox) with sup-sync, I found the estimated finish time is > too long (24 hours) to accept. So I decided to use DTrace to do some > profiling work on sup-sync, and here is the result. Thanks for the analysis! I am very interested in speeding up this sort of thing. However, it looks like the culprit here is the Ruby IMAP library, which presumably is so much slower than Mutt because it's Ruby. So probably the only significant way to speed this up would be to use a different IMAP library. If there's a C IMAP library with a Ruby bridge, I'll consider hooking it in, but I don't know of one... -- William