Jump to:

22977 Posts in 11747 Topics by 2826 members

General Questions

SilverStripe Forums » General Questions » Perfomance nonsatisfying

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

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

Page: 1
Go to End
Author Topic: 1094 Views
  • OBITS
    Avatar
    Community Member
    17 Posts

    Perfomance nonsatisfying Link to this post

    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

  • Willr
    Avatar
    Forum Moderator
    5462 Posts

    Re: Perfomance nonsatisfying Link to this post

    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.

  • PapaBear
    Avatar
    Community Member
    26 Posts

    Re: Perfomance nonsatisfying Link to this post

    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.

  • bennettpr
    Avatar
    Community Member
    37 Posts

    Re: Perfomance nonsatisfying Link to this post

    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....

  • Willr
    Avatar
    Forum Moderator
    5462 Posts

    Re: Perfomance nonsatisfying Link to this post

    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

  • bennettpr
    Avatar
    Community Member
    37 Posts

    Re: Perfomance nonsatisfying Link to this post

    Thanks Willr - that clarifies things

  • PapaBear
    Avatar
    Community Member
    26 Posts

    Re: Perfomance nonsatisfying Link to this post

    @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

  • OBITS
    Avatar
    Community Member
    17 Posts

    Re: Perfomance nonsatisfying Link to this post

    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

    1094 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.