Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Customising the CMS /

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Low performance !


Go to End


3 Posts   995 Views

Avatar
Chimera

Community Member, 10 Posts

12 August 2013 at 8:39pm

Hi,

i have built site for offering properties and i have trouble with performance. On homepage are :

7 forms for filtering
one for fulltext search
two menus
static content

This page loads 2,5 seconds.

Another page which shows properties with same 7 filters takes 4 seconds to load, but when i dump filtered data before template render, its loaded in 900 ms.

Can you advise me how to speed up ??? Thanks

Avatar
martimiz

Forum Moderator, 1391 Posts

13 August 2013 at 8:04pm

If the loading time is 4 secs with and less then 1 sec without, one would suppose the way the data are filtered takes up an awfull lot of resources... Not easy to say why that would be, without knowing how it's done...

Avatar
Willr

Forum Moderator, 5523 Posts

14 August 2013 at 8:09pm

XHProf can be a great way to analyze what part of the PHP is causing the delay. Once you know what is slow, you can look to optimize with partial caching or using the SS_Cache APi.