I've installed XHProf and found out that "is_file" function is called 1,767 times ans takes about 0,8 sec to execute.

Here is the more detailed stats:

Comments

soul88’s picture

https://drupal.org/node/1978592#comment-7810159 - some progress on the issue above.

soul88’s picture

https://drupal.org/node/2077807 and another patch that helped me a lot. Now my pages for registered users open in between 0,6-2sec which is much better.

ezra-g’s picture

Thanks so much, @Soul88! I'm following the token cache issue and look forward to results from the Test Bot.

soul88’s picture

yay, token patch is finally green. Please review it if you can.

And what do you think about the core patch? Could we get it into the core?
//Yeah, I know it's not very sexy, but it works and speeds up the site.

P.S. Yay2, the core patch is green also ).

soul88’s picture

Issue tags: +Performance
pounard’s picture

1200+ module_load_include() calls is really a huge figure. I'd tend to say you should redesign your home page to lower this figure, or patch the modules that call it too often.

soul88’s picture

That's a standard Commons distribution. With almost no modifications.

soul88’s picture

StatusFileSize
new97.13 KB
new104.23 KB
new126.94 KB
new102.96 KB
new97.01 KB

If that might help: here are my current XHProfs

the site: 40k nodes 400k comments
hardware: Intel Core i7 SandyBridge, 16GB RAM DDR3, 2*1TB hdds mid server (not the desktop HDDs)
Software: nginx + LAMP (FAMP? OS == FreeBSD), memcache, APC installed.

P.S. And it seems the GDO is much bigger, so we need to solve these problems anyway, if we want to move GDO to Commons.