How about measuring the time of post processing?
For example ...
Source: qa-include/app/post-create.php (about L70 ?)
Code for measuring:
$debug_time = array();
$debug_time[] = microtime(true);
qa_post_index($postid, 'Q', $postid, @$followanswer['postid'], $title, $content, $format, $text, $tagstring, $categoryid);
$debug_time[] = microtime(true);
qa_update_counts_for_q($postid);
$debug_time[] = microtime(true);
qa_db_points_update_ifuser($userid, 'qposts');
$debug_time[] = microtime(true); // !!! Added !!!
for($i=0; $i < (count($debug_time)-1); $i++) {
echo "{$i} processing time: ";
echo ($debug_time[$i+1] - $debug_time[$i]) . "seconds<br>";
}
exit;