hi! On 2011-10-05 13:42, A.L.E.C wrote: > On 04.10.2011 18:06, A.L.E.C wrote: >> On 2011-10-04 17:37, Raoul Bhatia [IPAX] wrote: >> >>>> [29-Sep-2011 10:48:36 +0200]: [9421] C: A0003 LIST "" "*" >>>> [29-Sep-2011 10:48:36 +0200]: [9421] S: * LIST (\HasChildren) "." "kunden" >>> ... (2000 folders with>200.000 emails, ~1sec) >>> > [29-Sep-2011 10:48:37 +0200]: [9421] S: A0003 OK List completed. >>> (8 seconds between OK List and LIST Subscribed) >> >> Here Roundcube sorts the list in rcube_imap::_sort_mailbox_list(). Maybe >> the sorting procedure could be improved. > > Most time is spent in rcube_imap::_rsort(), but I didn't found a way to > speed it up. > >>> > [29-Sep-2011 10:48:45 +0200]: [9421] C: A0004 LIST (SUBSCRIBED) "" "*" >>> ... (2000 folders with>200.000 emails, ~1sec) >>>> [29-Sep-2011 10:48:46 +0200]: [9421] S: A0004 OK List completed. >>>> [29-Sep-2011 10:48:56 +0200]: [9421] C: A0005 LOGOUT >>> (~10 seconds between OK List and logout) >> >> Here it also does sorting. I think we could skip the sorting here. I'll >> work on a patch. > > Done in r5309. It should save a few seconds here.
thanks for spending so much time investigating these issues. should i still file a bug report for the remaining issues? (rcube_imap::_rsort(), js fit_string_to_size, etc.?) thanks, raoul -- ____________________________________________________________________ DI (FH) Raoul Bhatia M.Sc. email. [email protected] Technischer Leiter IPAX - Aloy Bhatia Hava OEG web. http://www.ipax.at Barawitzkagasse 10/2/2/11 email. [email protected] 1190 Wien tel. +43 1 3670030 FN 277995t HG Wien fax. +43 1 3670030 15 ____________________________________________________________________ _______________________________________________ List info: http://lists.roundcube.net/dev/ BT/8f4f07cd
