A.L.E.C wrote:
Attached patch is a body prefetching proof of concept.
For those who want to test my patch. To make testing simpler, comment console in imap.inc. Then apply my second patch. Now open a few messages and check logs/console. You'll find there time spent for fetching message contents. "(prefetch used)" is added when prefetched body was used for display, it means, there was one FETCH less. After some tests with modified imap.inc, you can replace it with the old one and open again the same messages. Then you can just compare results. -- Aleksander 'A.L.E.C' Machniak http://alec.pl gg:2275252 LAN Management System Developer http://lms.org.pl Roundcube Webmail Project Developer http://roundcube.net --- 8< --- detachments --- 8< --- The following attachments have been detached and are available for viewing. http://detached.gigo.com/rc/7R/w5ARh9wg/timer.diff Only click these links if you trust the sender, as well as this message. --- 8< --- detachments --- 8< ---
_______________________________________________ List info: http://lists.roundcube.net/dev/
