[OSSTEST PATCH 05/11] sg-report-host-history: Add a debug print after sorting jobs

Ian Jackson posted 11 patches 5 years, 6 months ago
[OSSTEST PATCH 05/11] sg-report-host-history: Add a debug print after sorting jobs
Posted by Ian Jackson 5 years, 6 months ago
This helps rule this sort out as a source of slowness.

Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
---
 sg-report-host-history | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sg-report-host-history b/sg-report-host-history
index 8b409fc7..25a0c847 100755
--- a/sg-report-host-history
+++ b/sg-report-host-history
@@ -318,6 +318,8 @@ END
 
     @rows = sort { $b->{finished} <=> $a->{finished} } @rows;
 
+    print DEBUG "SORTED\n";
+
     my $alternate = 0;
     my $wrote = 0;
     my $runvarq_hits = 0;
-- 
2.20.1