Hi! Displaying messages list via Ajax using jquery is 4-5 times slower than previous solution using DOM methods (function rcmail.add_message_row() and some code in list.js). For 100 messages per page it tooks: Firefox: jquery 1100ms, DOM 250 ms Opera: jquery 400ms, DOM 80ms.
Conclusion: don't use jquery everywhere (specially in code executed many times)!
Hi ALEC!
On this page you can read about John Resig's new JS profiling plugin. http://ejohn.org/blog/function-call-profiling/
Maybe you could profile the difference, and help JQuery developers fine-tune this parts.
Regards, Balazs
A.L.E.C, 09.04.20 10:48:
Hi! Displaying messages list via Ajax using jquery is 4-5 times slower than previous solution using DOM methods (function rcmail.add_message_row() and some code in list.js). For 100 messages per page it tooks: Firefox: jquery 1100ms, DOM 250 ms Opera: jquery 400ms, DOM 80ms.
Conclusion: don't use jquery everywhere (specially in code executed many times)!
List info: http://lists.roundcube.net/dev/