summaryrefslogtreecommitdiffstats
path: root/process_bug.cgi
diff options
context:
space:
mode:
authorByron Jones <bjones@mozilla.com>2013-06-19 10:53:50 +0200
committerByron Jones <bjones@mozilla.com>2013-06-19 10:53:50 +0200
commit1df1292cdc4837810703e6ec01a7354bdf82c7a1 (patch)
tree796eb5e69b036235daf5ba5bc4b4e9c1958c4002 /process_bug.cgi
parent8caf466c0cf82a06dc69a29a5e87900e86c2488a (diff)
downloadbugzilla-1df1292cdc4837810703e6ec01a7354bdf82c7a1.tar.gz
bugzilla-1df1292cdc4837810703e6ec01a7354bdf82c7a1.tar.xz
Bug 884177: updates to the timing collectors
Diffstat (limited to 'process_bug.cgi')
-rwxr-xr-xprocess_bug.cgi4
1 files changed, 2 insertions, 2 deletions
diff --git a/process_bug.cgi b/process_bug.cgi
index cc6dda130..6731a8395 100755
--- a/process_bug.cgi
+++ b/process_bug.cgi
@@ -467,11 +467,11 @@ unless (Bugzilla->usage_mode == USAGE_MODE_EMAIL) {
sub _log_timings {
return unless scalar(@bug_objects) == 1;
- $timings->{end_time} = clock_gettime(CLOCK_MONOTONIC);
+ return unless scalar(keys %$timings) == 8;
my $entry = sprintf "process_bug bug-%s user-%s %.6f %.6f %.6f %.6f %.6f %.6f %.6f %s\n",
$bug_objects[0]->id,
$user->id,
- $timings->{end_time} - $timings->{start_time},
+ $timings->{template_time} - $timings->{start_time},
$timings->{load_bug} - $timings->{start_time},
$timings->{mid_air} - $timings->{load_bug},
$timings->{update_time} - $timings->{mid_air},