diff mbox series

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

Message ID 20200724172216.28204-6-ian.jackson@eu.citrix.com (mailing list archive)
State New, archived
Headers show
Series Improve performance of sg-report-host-history | expand

Commit Message

Ian Jackson July 24, 2020, 5:22 p.m. UTC
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 mbox series

Patch

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;