Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Question about rendering time


_ck_
Participant

@_ck_

Depending on your host and how accurate their microtime is (for example I actually get negative numbers sometimes on Dreamhost?!!?) it’s fairly accurate but look at the page after a few tries and round out the numbers.

I have even more improvements in the newest bb-benchmach version (can’t remember if I put it into the SVN yet but I don’t think so). With a slight modification to bb-settings.php you can now get a detailed report like this:

=== benchmark & query results ===

load average: 1.64, 1.23, 1.14

total page time: 0.696 seconds.

time to reach each section:
bb_underscore_plugins_loaded = 0.412
bb-polls.php loaded = 0.421
bb-signatures.php loaded = 0.431
report-post.php loaded = 0.434
user-topics-to-favorites.php loaded = 0.436
tweaks.php loaded = 0.449
bb-topic-views.php loaded = 0.472
my-views.php loaded = 0.479
notification.php loaded = 0.481
bb-gzip.php loaded = 0.488
my-views-installed-available-plugins.php loaded = 0.491
my-views-started-participated-topics.php loaded = 0.493
my-views-most-least-views.php loaded = 0.495
plugin-browser.php loaded = 0.504
bb_plugins_loaded = 0.506
pluggable.php loaded = 0.523
locale.php loaded = 0.543
bb_init = 0.548
bb_index.php_pre_db = 0.603
bb_index.php = 0.616
front-page.php = 0.632
header.php = 0.655
logged-in.php = 0.675
footer.php = 0.694

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

total query count: 11

total query time: 0.0337 seconds

slowest call was # 1 : 0.0169 seconds
SELECT meta_key, meta_value FROM bb_topicmeta WHERE topic_id = '0' server:dbh_local connect: 10.59ms

=== mysql queries used ===

# 1 : 0.0169 seconds
SELECT meta_key, meta_value FROM bb_topicmeta WHERE topic_id = '0' server:dbh_local connect: 10.59ms

etc. etc.

Skip to toolbar