By geologyrocks on
I just counted the number of modules I have up and running on my test site: 62! Is this a lot?
I imagine each module has a performance hit at some point, depending on the content being loaded. Is there a performance hit just for a module being enabled?
How many modules do other folk have?
You can experience the speed of my (shared) host here: drupal.geologyrocks.co.uk
It does seem a bit slow at times...I have enabled throttle and tweaked the settings to what I think is reasonable, but I guess I won't know the full extent until I get the site finished and it goes live.
Comments
Proper link...
...might help ;)
http://drupal.geologyrocks.co.uk
At the very least, every
At the very least, every module's code is loaded into memory on every page view, so the number of files and number of lines of code will have some effect on speed. 62 seems like quite a large number.
More likely, however, one of those modules has some inefficient code or queries. you might try playing with the devel module.
---
Work: BioRAFT
thanks
Thanks for the suggestion; the devel module looks like a handy tool.
A PHP accelerator can be handy
If you can install it, it's a good point to use a PHP accelerator (like eAccelerator). It depends on your hosting policy.
"If you can install it, it's
"If you can install it, it's a good point to use a PHP accelerator (like eAccelerator). It depends on your hosting policy."
Unfortunately I can't install something like this. Thanks for the suggestion though :)
Path alias
They seem to be part of the problem. They don't take very long per query (although somtimes they take nearly a second), but there are thousands of them after just a few minutes clicking around the site. I'll have a look around the forums to see if there are any solutions (I do vaguely recall seeing something about this).
Just for interest, other "long" queries are:
o pager_query
o forum_get_forums
o cache_get
o views_build_view
However, it's not all bad. I've yet to find a page that regularly takes more than a couple of seconds to load and most are less than a second. This of course depends on the load of the other websites that mine shares the host with.
i think I'll get rid of the views module as I'm not really using it much and can replace the few pages where it is useful with more bespoke solutions.
Thanks again the advice,
Jon