[Catalyst-commits] r7028 - Catalyst-Runtime/5.70/trunk/lib
jrockway at dev.catalyst.perl.org
jrockway at dev.catalyst.perl.org
Fri Oct 19 06:00:41 GMT 2007
Author: jrockway
Date: 2007-10-19 06:00:40 +0100 (Fri, 19 Oct 2007)
New Revision: 7028
Modified:
Catalyst-Runtime/5.70/trunk/lib/Catalyst.pm
Log:
resolve conflict in the correct direction this time :)
Modified: Catalyst-Runtime/5.70/trunk/lib/Catalyst.pm
===================================================================
--- Catalyst-Runtime/5.70/trunk/lib/Catalyst.pm 2007-10-19 04:26:34 UTC (rev 7027)
+++ Catalyst-Runtime/5.70/trunk/lib/Catalyst.pm 2007-10-19 05:00:40 UTC (rev 7028)
@@ -1347,8 +1347,8 @@
$c->finalize_body;
}
- if ($c->use_stats) {
- my $elapsed = tv_interval($c->stats->getNodeValue);
+ if ($c->use_stats) {
+ my $elapsed = sprintf '%f', $c->stats->elapsed;
my $av = $elapsed == 0 ? '??' : sprintf '%.3f', 1 / $elapsed;
$c->log->info(
"Request took ${elapsed}s ($av/s)\n" . $c->stats->report . "\n" );
More information about the Catalyst-commits
mailing list