]> git.deb.at Git - deb/packages.git/blobdiff - cgi-bin/search_packages.pl
Print total page evaluation time if debug allowed (also nice hint that you
[deb/packages.git] / cgi-bin / search_packages.pl
index 255cd566370ad54271338a983a916377bba1122f..e5bcae588de9ea1205dda557e7831aeae86aeea9 100755 (executable)
@@ -597,6 +597,10 @@ print <<END;
 </div>
 END
 
+my $pete = new Benchmark;
+my $petd = timediff($pete, $pet0);
+print "Total page evaluation took ".timestr($petd)."<br>"
+    if $debug_allowed;
 print $input->end_html;
 }