Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


PHP/MySQL CPU performance of shared hosting
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

PHP/MySQL CPU performance of shared hosting

kidrockkidrock Member
edited August 2021 in Reviews

One of my website is on a shared hosting. Installed the PHP/MySQL CPU performance statistics plugin and tested the performance of the web hosting provider. This is the result from the plugin test.
https://imgur.com/a/BrhpWAL

From the test above, what do you think about the performance of my shared hosting plan/provider?

Is this plugin test ideal to assess the performance of a hosting plan? What other plugins can I use to test performance of a web hosting shared package of two or more providers that will help to choose the best shared hosting provider?

Comments

  • First:
    This is some kind of bullshit, but not a test. I do not know how to "test" performance of shared hosting without using it and noticing issues on the eye or from debugger for example (if you know well how fast must be website, and you notice that something is wrong by interaction with website).

    Second:
    I do not see php-opcache loaded at all. Try to enable and properly configure if you have any access to that, it will dramatically improve WP performance.

    Thanked by 2kidrock antpeks
  • If you worry about performance, look for some page caching solutions for PHP, like jpcache or quickcache.

    Thanked by 1kidrock
  • Do not bother about performance unless you hit he bottleneck. (Or using alpharack)
    If you hit the bottleneck, move to vps instead.

    Thanked by 1kidrock
  • @desperand said:
    First:
    This is some kind of bullshit, but not a test. I do not know how to "test" performance of shared hosting without using it and noticing issues on the eye or from debugger for example (if you know well how fast must be website, and you notice that something is wrong by interaction with website).

    I test frontend using Gtmetrix, Webvitals, etc. Just read about this backend testing on another forum and did the test. I don't know how reliable this is.

    Second:
    I do not see php-opcache loaded at all. Try to enable and properly configure if you have any access to that, it will dramatically improve WP performance.

    I just enabled Opcache in PHP Extensions via cPanel. Is that it or do I need to configure anything else for the Opcache?

  • @chihcherng said:
    If you worry about performance, look for some page caching solutions for PHP, like jpcache or quickcache.

    I am using Litespeed Cache plugin. Do I need these additional caching like jpcache or quickcache? Since I am on shared hosting, can these plugins be installed without access to server?

  • If you are not using litespeed and only Apache server then quickcache can really help.
    litespeed has its own lscache which works similarly. It complies php pages and caches them outside the WP directory, on server-level.

  • @kidrock said: I just enabled Opcache in PHP Extensions via cPanel. Is that it or do I need to configure anything else for the Opcache?

    As far as I know, you can't configure config for opcache, but even default values for opcache pretty okay for any WP setup and will reduce page loading dramatically (always).

    @kidrock said: I test frontend using Gtmetrix, Webvitals

    Both not excellent in my opinion. Google pagespeed always displaying not related bullshit. Event their lighthouse.

    Try to use: https://www.webpagetest.org/ and click advanced settings, and play with browsers, and connection and resolutions. You will see more realistic info. Also read their disclaimer, how they do benchmarks.

    @kidrock said: I am using Litespeed Cache plugin.

    Their plugin (again, this is only my experience) - features rich, but not stable.
    The plugin works fine (in terms of caching) only with Litespeed Enterprise web server.

    The thing that's more important is (again, sorry for repeating) nested divs, CSS, images, and other media content & js code.

    Images better convert to webp, any images, except maybe gifs.
    ideally host custom fonts locally
    find out how to use CriticalCSS https://web.dev/extract-critical-css/ (there are services for that).
    Reduce overall connections if using http1.1

    If using http2.0 or quic things will be even better, and not need to optimize connections.
    Open devtools ⇾ go to network tab ⇾ disable cache, and restart test. You will see problematic or slow things, try to improve them and reduce connections.

    Thanked by 2nyamenk kidrock
  • @desperand said:
    Try to use: https://www.webpagetest.org/ and click advanced settings, and play with browsers, and connection and resolutions. You will see more realistic info. Also read their disclaimer, how they do benchmarks.

    So this is to test my website, but what about testing two hosting providers? How do I test say Host A vs Host B for a shared hosting plan and then choose the best performing host in the same price range?

  • @kidrock said: So this is to test my website, but what about testing two hosting providers? How do I test say Host A vs Host B for a shared hosting plan and then choose the best performing host in the same price range?

    It's hard with shared hosting, on own VPS you can configure envelopment pretty easy to find out bottlenecks, on shared hosting that preconfigured by system administrator of shared hosting it's harder to do.

    I'm not sure, but probably some plugins for WP like: https://uk.wordpress.org/plugins/query-monitor/ can help with current numbers and what is going on. https://wordpress.org/support/article/debugging-in-wordpress/

    Acceptable loading speed below 3s, even 4s it's okay for loading website.
    You can throttle your connection to 3g in lighthouse (DevTools network tab), or even CPU to see how your website will load on different simulated devices with different port speed, or CPU power.

    But most of the time on front end loading locked because of nested bloated JS, CSS, and HTML blocks with content + 3rd party scripts not from your website. Like chat widgets, like analytics, like some JS code injections for displaying something…

    There are also several nice fast themes for WP that out the box pretty optimized, like: Blocksy, astra, suki, page builder framework, hmm yea, that's it.

    Again, about comparison between shared hostings → I do not know how properly organize that. How do I notice if shared hosting bad? Because of my experience. I know how a website should “feel”, in terms of loading times, and if I see some delays on specific actions that usually does not happen, probably there are a problem with shared hosting. For that I switch to another host, or my VPS to test website under different conditions, than if everything is okay, I compare loading times, responsiveness choose what is best for me. If a website is slow down because of node of shared hosting, you will notice that, such issues hard to hide on the hoster side.

    Thanked by 1kidrock
Sign In or Register to comment.