Forums

Join
bbPress Support ForumsTroubleshootingfooter.php mysteriously slow loading

Info

footer.php mysteriously slow loading

  1. I'm on 1.0Alpha6.
    Is this just a quirk in the bb-benchmark plugin i.e. is the timer just way off?
    This is what I get when loading a normal page, with 11 queries executed in notime at all.


    time to reach each section:
    bb_underscore_plugins_loaded = 0.169
    bb_plugins_loaded = 0.179
    community.php = 0.209
    header.php = 0.209
    search-form.php = 0.209
    footer.php = 1.019

    time to render page: 1.0153 seconds (query time subtracted)

    total query count: 11

    total query time: 0.0027 seconds
    `
    if you look at that time difference from the other sections and compare it to the time it takes to load footer.php. It's just insane. footer.php contains nothing but a "copyright" thing and a hook to do_actoion bb_foot.
    Does anyone have any thoughts on that?

    Thanks for an excellent product.

    Edit:
    Maybe I'm reading the stats wrong. It's probably measuring the time between search-form.php and when it finally arrived at footer.php. but still, something is taking an enormous time between those two, and it doesn't seem to be the queries to the Db. Still appreciate some thoughts here on what this could be. Thanks.

  2. Never mind. I belive I found what was causing the slow load. Thanks.

  3. Care to share in case anyone has a similar issue?

  4. You must log in to post.