GNOME Bugzilla – Bug 676403
imapx: Syncing folder after server-side deletion of many messages is *very* slow
Last modified: 2012-05-21 13:00:03 UTC
I archive mail quarterly, and when it happens I see thousands of messages disappear from each mailbox. This always used to work reasonably, but in 3.4 it seems to take about 40ms for each call to camel_folder_summary_remove_uid(). This means that it takes *minutes* to sync each folder, just for the local database work of removing old messages from the cache. This is an entirely unacceptable performance regression.
Created attachment 214472 [details] [review] Proposed fix This patch reduces the time per message from about 40ms to about 50µs.
Review of attachment 214472 [details] [review]: Make sense. Please commit the patch.
To ssh://dwmw2@git.gnome.org/git/evolution-data-server 6fe2278..5186c99 gnome-3-4 -> gnome-3-4 2236bc3..23a77e1 master -> master