• My server is pretty beefy. Okay, it doesn’t have dual hexacores with 48GB of memory, but still, it’s more than adequate to serve a couple of pages, especially since it’s the only thing it’s doing.

    And yet, somehow, each and every page my WP installation serves me, takes about half a second before the first byte is sent to the browser. That tells me each page needs around half a second of CPU-time. That is a LOT. A page – even from a CMS – must be able to be served within 50ms. Half a second is *just* too long.

    Ok, granted, I can shave off about 100ms when I disable all plugins, but the theme doesn’t make any difference. So thats at least 400ms for a very simple page – just a few lines of content, no comments, on the default twenty11 theme.

    First of all, how is this possible? And is this normal?
    Secondly, if it’s not normal, how can I get a detailed performance profile to pinpoint any bottlenecks?

Viewing 5 replies - 1 through 5 (of 5 total)
  • If your site is visible on the web (not just a local install), you can use the Google Page Speed Online tool to help find the problem.

    Thread Starter thanatica2

    (@thanatica2)

    Thanks, I ran the tool and it gave me a score of 79. Some improvements are still pending, but the thing is, this tool checks for issues on the frontend. It doesn’t (and can’t) check for speed issues that exist on the server, i.e. in PHP code, MySQL, internal caching, or otherwise…

    That’s why I would like to somehow get a detailed performance profile from start to end, to eliminate bottlenecks *on the server*.

    Btw, I already enabled the query cache on MySQL (the WTF here is that it’s disabled by default) but it shaves off almost nothing. For now I can just eyeball the execution time from FireBug (time to first byte sent to the browser) and it did go down by maybe 10 or 20 ms.

    That still leaves a whopping 480ms execution time, at least 400 of which appears to belong to WP.

    Thread Starter thanatica2

    (@thanatica2)

    btw, with “performance profile from start to end” I mean the performance profile from the very first hit to the server, to the point of starting to send the first byte to the client. So everything within the serverside execution time I’d like to see, because that’s what slowing the pages down.

    What’s the site link?

    Thread Starter thanatica2

    (@thanatica2)

    https://home.thany.nl/

    Still in development/testing phase, as you can see ??

    This site, running on a different server, has the same problem:
    https://findersbv.nl/

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Slow pages’ is closed to new replies.