Home

Your premium source for custom modification services for phpBB

  logo

HomeForumsBlogMOD ManagerFAQSearchRegisterLogin

Comments March 6, 2008

Speedy Template Development Topic

Filed under: Performance Tuning, phpBB — Dave Rathbun @ 10:22 am Comments Off 

The author of the code I have been testing has started a development topic at www.phpbb.com. So if you want to try the same code that I have been testing, you can to that.

Speedy Template Development Topic

The MOD Author is Brainy. I like their current signature line… :lol:

if($do || !$do) $there = $no_try;

Measuring the True Page Generation Time

Filed under: Performance Tuning, phpBB — Dave Rathbun @ 12:21 am Comments Off 

Collecting Data

In an earlier post I detailed how I was capturing the time spent parsing a page. The code looks like this:

$page_parse_start_microtime = microtime();
$template->pparse('body');
$page_parse_time = microtime_duration($page_parse_start_microtime, microtime());

The call to the pparse(’body’) function appears at or near the bottom in essentially every content page in phpBB2. By including this code I capture the start time just before the function call, and get the completion time after the function returns. One astute reader pointed out to me that this ignores the parsing time spent in rendering the page header and the page footer, and they were right. But I don’t think it matters. Besides, I don’t want to alter my testing process now as I would have to go back and start all over again, and I don’t want to do that. :-P

Why doesn’t it matter?

More…

Powered by WordPress