Skip to contentSkip to conversation

cri-args-hostlists: Add some calls to date(1)

PATCH New Ian Jackson 1 participant 1 message Aug 4, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 cri-args-hostlists: Add some calls to date(1)

This will make it easier to see perf changes etc.

---
 cri-args-hostlists | 8 ++++++++
 1 file changed, 8 insertions(+)
cri-args-hostlists +8 -0
index 28d576db..61572c2d 100644
@@ -117,17 +117,25 @@ start_email () {
 
 	globallockdir=`getconfig GlobalLockDir`
 
+	date >&2
+
 	with-lock-ex -w $globallockdir/report-lock \
 	  ./sg-report-job-history --html-dir=$job_html_dir --flight=$flight
 
+	date >&2
+
 	./sg-report-flight --html-dir=$flight_html_dir/$flight/ \
 		--allow=allow.all --allow=allow.$branch \
 		$sgr_args $flight >tmp/$flight.report
 	./cr-fold-long-lines tmp/$flight.report
 
+	date >&2
+
 	mkdir -p $host_html_dir
 	with-lock-ex -w $globallockdir/report-lock \
 	  ./sg-report-host-history --html-dir=$host_html_dir flight:$flight
+
+	date >&2
 }
 
 publish_send_email () {
Signature · 1 line
2.20.1