From: Aaron Schulz Date: Tue, 18 Nov 2014 22:58:02 +0000 (-0800) Subject: Cleaned up template profile report tabbing X-Git-Tag: 1.31.0-rc.0~13256^2 X-Git-Url: https://git.cyclocoop.org/%27.WWW_URL.%27admin/?a=commitdiff_plain;h=88ad1bd9a72a1390d844c5f1484fe4e5c980e0fe;p=lhc%2Fweb%2Fwiklou.git Cleaned up template profile report tabbing Change-Id: I46abfc856d718d4db73d0510bde3e2b589341b10 --- diff --git a/includes/parser/Parser.php b/includes/parser/Parser.php index 14aad1a6e9..07eb3407aa 100644 --- a/includes/parser/Parser.php +++ b/includes/parser/Parser.php @@ -536,9 +536,9 @@ class Parser { uasort( $dataByFunc, function( $a, $b ) { return $a['real'] < $b['real']; // descending order } ); - $profileReport = "Top template expansion time report (%,ms,calls,template)\n"; + $profileReport = "Transclusion expansion time report (%,ms,calls,template)\n"; foreach ( array_slice( $dataByFunc, 0, 10 ) as $item ) { - $profileReport .= sprintf( "%6.2f%% %3.6f %6d - %s\n", + $profileReport .= sprintf( "%6.2f%% %8.3f %6d - %s\n", $item['%real'], $item['real'], $item['calls'], htmlspecialchars($item['name'] ) ); }