Answers.Body: <p>Assuming you mean shared hosting, it's going to be difficult to analyze, mainly because you have no way of seeing the disk I/O or the database contention.</p>
  <p>In my experience, this happens because WordPress because WordPress is bootstrapped with every CiviCRM API request, and some plugins (BuddyPress comes to mind, as does one of the multilingual plugins, I forget which) introduce a significant slowdown.</p>
  <p>If you know how to set up a local test site, it would be good to get a baseline - is the problem server-bound, or site-bound?  You can also use that to disable all your WP plugins and see how much difference that makes in timing.  It's probably down to one or two plugins.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2021-10-01T13:04:44.880Z
Answers.Text: Thank you for the hints, you are right I'm in hosting and isn't easy to analized the system performance. I disabled all the plugins and the system response is less slower, but alway more than 12s to open a page or update a record. Could it depend on theme?
Answers.UserDisplayName: pk825
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2021-10-01T15:59:01.700Z
Answers.Text: Theme also matters, yes.  But ultimately - CiviCRM isn't great with shared hosting, it takes more resources than a typical WordPress site.  There are some shared hosts that specialize in CiviCRM, but my guess is that if you moved to a $10/month VPS you'd see a huge difference in performance (though at the cost of having to keep the server up-to-date)
Answers.UserDisplayName: Jon G - Megaphone Tech
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2021-10-01T19:03:20.910Z
Answers.Text: It seems the only solution and the problem is not the cost, but the maintenance of the VPS: it's time consuming and not so easy :(
Answers.UserDisplayName: pk825
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2021-10-01T19:49:54.823Z
Answers.Text: I suppose so. Ironically maintaining 20 servers IS quick and easy, but maintaining one is neither.
Answers.UserDisplayName: Jon G - Megaphone Tech
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2021-09-30T20:34:14.547Z
Answers.LastActivityDate: 2021-09-30T20:34:14.547Z
Answers.UserDisplayName: Jon G - Megaphone Tech
Body: <p>I have an heavy problem on my Civicrm instance 5.36 on Wordpress 5.7.1 working in the backend, the time to open a dashobard is more the 20 seconds and every pages have similar time.
  By example: main empty dashboard take 22,9061s to open, but the query took only 0,3610s (the system cache 95,9% of hit: 6.246 hit, 269 miss).
  Civicrm is hosted and from cpanel there is no issue: CPU, Memory are used less than 30%
  Is there a way to analyze the problem?</p>
  
Tags: <wordpress><performance>
Title: Heavy performance problem on 5.36 not related to query
ThreadText: # Heavy performance problem on 5.36 not related to query
  
  (Asked by: username_0 on 2021-09-30)
  
  I have an heavy problem on my Civicrm instance 5.36 on Wordpress 5.7.1 working in the backend, the time to open a dashobard is more the 20 seconds and every pages have similar time.
  By example: main empty dashboard take 22,9061s to open, but the query took only 0,3610s (the system cache 95,9% of hit: 6.246 hit, 269 miss).
  Civicrm is hosted and from cpanel there is no issue: CPU, Memory are used less than 30%
  Is there a way to analyze the problem?
  
  **Tags:** wordpress, performance
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2021-09-30. Score: 1
  
  Assuming you mean shared hosting, it's going to be difficult to analyze, mainly because you have no way of seeing the disk I/O or the database contention.
  
  In my experience, this happens because WordPress because WordPress is bootstrapped with every CiviCRM API request, and some plugins (BuddyPress comes to mind, as does one of the multilingual plugins, I forget which) introduce a significant slowdown.
  
  If you know how to set up a local test site, it would be good to get a baseline - is the problem server-bound, or site-bound? You can also use that to disable all your WP plugins and see how much difference that makes in timing. It's probably down to one or two plugins.
  
  > **Comments:**
  > **username_0**: Thank you for the hints, you are right I'm in hosting and isn't easy to analized the system performance. I disabled all the plugins and the system response is less slower, but alway more than 12s to open a page or update a record. Could it depend on theme?  
  > **username_1**: Theme also matters, yes.  But ultimately - CiviCRM isn't great with shared hosting, it takes more resources than a typical WordPress site.  There are some shared hosts that specialize in CiviCRM, but my guess is that if you moved to a $10/month VPS you'd see a huge difference in performance (though at the cost of having to keep the server up-to-date)  
  > **username_0**: It seems the only solution and the problem is not the cost, but the maintenance of the VPS: it's time consuming and not so easy :(  
  > **username_1**: I suppose so. Ironically maintaining 20 servers IS quick and easy, but maintaining one is neither.  
  
  ---
  
  