From 3ed08cf6f6ca6daaa788f64db755e0069d13c2e4 Mon Sep 17 00:00:00 2001 From: Tim Starling Date: Sat, 21 Aug 2004 13:57:47 +0000 Subject: [PATCH] Sort results by total time --- includes/Profiling.php | 1 + 1 file changed, 1 insertion(+) diff --git a/includes/Profiling.php b/includes/Profiling.php index 1997cf5b6f..a6c49eb944 100755 --- a/includes/Profiling.php +++ b/includes/Profiling.php @@ -141,6 +141,7 @@ class Profiler $this->mCalls["-overhead-total"] = $profileCount; # Output + arsort( $this->mCollated, SORT_NUMERIC ); foreach ( $this->mCollated as $fname => $elapsed ) { $calls = $this->mCalls[$fname]; # Adjust for overhead -- 2.20.1