On Fri, Jul 3, 2009 at 5:55 AM, Andreandre@neo-anime.org wrote:
On Thu, 2 Jul 2009 21:38:43 +0200, darklight darklight.xdarklight@googlemail.com wrote:
walking through roundcube's code I've found some room for small improvements. if you sum them all together you may get some nice performance
improvement
(not very huge - but you can probably notice it)
The notion of micro optimizations in PHP has been a recent topic lately, with a page from Google getting a lot of recognition:
http://code.google.com/speed/articles/optimizing-php.html
I would suggest everyone at least read a response from Gwynne Raskind before seriously contemplating the idea of combing through the RoundCube source to apply these sort of micro optimizations, however:
http://groups.google.com/group/make-the-web-faster/browse_thread/thread/ddfb...
That's a great response. And that was one hilarious video. ;-) Usually, you would think that Google knows what they are doing, but it seems like that is not always the case.
@Martin
If you are concerned about the speed, feel free to get Xdebug and enable the profiler. It'll provide you with Cachegrind files which you can view in WinCacheGrind (windows), KCacheGrind (linux/kde) or webCacheCrind (browser).
Those files help you figure out bottle-necks in PHP code and if you can solve any of them or want feedback on your discoveries, always feel free to ping the list. Of course we're not holding back on optimization, but we'd like to avoid the unnecessary.
Till _______________________________________________ List info: http://lists.roundcube.net/dev/