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. > > [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. > initial login: >> [29-Sep-2011 10:46:43 +0200]: [6A8E] C: A0003 LIST (SUBSCRIBED) "" "*" >> [29-Sep-2011 10:46:43 +0200]: [6A8E] S: * LIST (\Subscribed) "." "Sent" > ... (2000 folders with >200.000 emails, ~1sec) >> [29-Sep-2011 10:46:44 +0200]: [6A8E] S: * LIST (\Subscribed) "." >> "alertrb_todo" >> [29-Sep-2011 10:46:44 +0200]: [6A8E] S: A0003 OK List completed. >> [29-Sep-2011 10:46:53 +0200]: [6A8E] C: A0004 LOGOUT > (~10 seconds between OK List and logout) Sorting again, but also other stuff until script shutdown. > 1. the main issue might be in the js code/js engine/browser. > firfox, for example, reports an unresponsive script > in skins/default/functions.js around line 616, 619, 632, etc. > upon login. > > this is the "fit_string_to_size" method. Yes. It can be expensive. Please, open a ticket for this issues. I'll work on this when I'll have more time. -- Aleksander 'A.L.E.C' Machniak LAN Management System Developer [http://lms.org.pl] Roundcube Webmail Developer [http://roundcube.net] --------------------------------------------------- PGP: 19359DC1 @@ GG: 2275252 @@ WWW: http://alec.pl _______________________________________________ List info: http://lists.roundcube.net/dev/ BT/8f4f07cd
