Even with a strict minimum of content some text, the site logo and the favicon, no css and no scripts at all (completely commented out from page.tpl.php, my online site with panels everywhere takes 32 sec (!) to browse the page against 322ms for exactly the same page in html static version on the same server.

I have activated and desctivated the site cache and page compression (core) and the panels cache, that doesn't seem to change anything.

I use CCK views and many modules but for the sake of testing I didn't even use the content of any of these. I first thought my issue came from using domain module but I have the same issue with a single site.

I wish I can get some help here to troubleshoot this, because I have tried all I know and each optimisation trick I found (simplify the markup with custom styling, etc.) If more info is needed, please let me know.

Comments

Jerome F’s picture

My websites can take as much as 50 sec to load (the record is 5 minutes !) as well as 3 sec.

I experience also problems with the core css an js aggregator. which simply don't work (the aggregated file is generated on the server, but the mime type is text/html instead of text/css) the path to the file changes as the file name changes, so the browser considers it as an empty file, the js variables are not found, etc.

But that's not the main problem in term of performance, even many css and many js files and the http requests needed are not such time consuming as my document is to load.

One more thing that's not because of the provider, because even in local hosting I experience the same issue and our other flash and static sites don't have that kind of performance problems. My old drupal sites without panels & panels everywhere don't have that problem either. I've read that there was 30% of performance consumed by panels, but that doesn't mean that instead of 3 sec I get 30 sec of loading time does it ?

Any hints ?

If that doesn't make sense to anyone could you try to explain how the document is processed by panels and drupal before the browser loads it, to help me understand what's happening and why ?

merlinofchaos’s picture

Are you using devel.module to log the queries and see page generation times?

Jerome F’s picture

Status: Active » Fixed

No but I did try devel just to see what was happening.

It appears that the culprit was the WSOD module. When I disabled it everything went back to normal.
Sorry for that.

I mark this fixed for further testing, If the problem comes back I'll let you know, but if it appears that was the source of all the problems I experienced even with the core css and js aggregator, that's worth knowing.

merlinofchaos’s picture

Ah yes. It's been revealed before that wsod.module causes problems with Panels, because it makes an untrue assumption about how output is generated. I should probably post that somewhere so more people can find out about it.

Jerome F’s picture

Title: Huge performance problems » Huge performance problems caused by WSOD module
Status: Fixed » Closed (fixed)

Thank you for your quick answers.
Switching off WSOD module definitely solved the problem.