Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: bbpress 0.9.0.2 slow


_ck_
Participant

@_ck_

You can make my bb-benchmark work on WordPress with a few changes.

Most notably you’d have to add the line:

add_action('wp_footer', 'bb_benchmark_output',999);

if (bb_current_user_can( 'administrate' ) ) you just have to take off the bb_ part and make it current_user_can

Oh and all $bbdb has to be changed to $wpdb

It won’t be able to calculate the timing between sections until all the hook names are added which unfortunately I don’t have the time right now to lookup. But it will still show you overall times and mysql queries.

Skip to toolbar