Mailing List Archive

[OSSTEST PATCH v2 24/41] sg-report-host-history: Add a debug print after sorting jobs
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 a34458e0..1c2d19ae 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