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.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

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

Perfomance nonsatisfying


Go to End


8 Posts   1873 Views

Avatar
OBITS

Community Member, 17 Posts

20 December 2010 at 7:04pm

Hi Community

I have a performance problem with my silverstripe website. The first Load of the website www.%removethis%schrittederhoffnung.ch is on some Computers, meaning Mac and/or Windows System, slow. But if the Web is my cache the performace is okay respectively the navigation is okay. Can you give me some tips?

thank you

OBAITS

Avatar
Willr

Forum Moderator, 5523 Posts

20 December 2010 at 11:08pm

Taking a quite look at the timeline tab (firebug, built in for webkit) I get ~1sec load time for the site which isn't that slow and that's on a fresh cache.

If you are worried about performance you can use ?debug_profile=1 to see what is taking the longest time but it doesn't appear to be a complex site, more likely just a slow connection to the database server or a cold cache on your server.

Partial Caching (and using an opcode cache) will make things faster http://doc.silverstripe.org/partial-caching but this normally makes most improvement on much more complex sites.

Avatar
PapaBear

Community Member, 26 Posts

21 December 2010 at 1:31pm

I'm getting a very unusual performance issue. In the admin view in the CMS if I click on a page in the menu it takes several minutes to update, yet if I put the appropriate link into the address bar the page loads immediately.

I am really having trouble finding a cause. I suspect it's a problem in the AJAX call but have no idea how to improve this. This is relatively new behaviour for this site. I'm in the process of extending the event_calendar but this performance issue has brought everything to a crashing halt.

I'm running SS2.4.0 with the latest event_calendar from Uncle Cheese's site.

If anyone could help I would be very grateful.

Cheers
James.

Avatar
bennettpr

Community Member, 37 Posts

22 December 2010 at 12:43pm

Hi PapaBear,

Did you resolve this? I'd suggest looking in the console tab of a webkit browser's (Safari, Chrome) inspector tools to see if any errors are being logged there.

Willr - does ?debug_profile=1 still function? I'm trying to use it on a 2.4 site (out of curiosity more than anything) but it doesn't seem to do anything noticeable - I can't see anything in the page source or the console....

Avatar
Willr

Forum Moderator, 5523 Posts

22 December 2010 at 7:37pm

Willr - does ?debug_profile=1 still function? I'm trying to use it on a 2.4 site (out of curiosity more than anything) but it doesn't seem to do anything noticeable - I can't see anything in the page source or the console....

It does, you will need to be in dev mode or, if testing a live site, login as an admin and add ?debug_profile=1&isDev=1

Avatar
bennettpr

Community Member, 37 Posts

23 December 2010 at 6:29am

Thanks Willr - that clarifies things

Avatar
PapaBear

Community Member, 26 Posts

23 December 2010 at 8:07am

Edited: 23/12/2010 8:09am

@Bennetpr: I don't know what caused the slow down. I reinstalled 2.4.2 and the fault was resolved.

It was a good evening after that. I successfully extended the event_calendar to fit the project and we're now back on track.

I was able to use the debug_profile command although it didn't highlight anything obviously out of place. Chrome's speed analyser and firebug for firefox both showed the delay was in the Ajax calls. if I typed in the exact URL that was used in the ajax the page showed immediately.

Cheers
PB

Avatar
OBITS

Community Member, 17 Posts

31 December 2010 at 8:56pm

I have tested with http://%removethis%www.schrittederhoffnung.ch/?debug_profile=1, but no result.

Intressting is also.. not on all Workstations or Networks my website is slow. Have anybody an idea?

thx