From dbe3232b2caadf5a37ac010a760af94121a396d5 Mon Sep 17 00:00:00 2001 From: Peter Hedenskog Date: Wed, 8 Aug 2012 16:56:55 +0200 Subject: [PATCH] output number of pages crawled --- sitespeed.io | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sitespeed.io b/sitespeed.io index a34b3ffe9..359e90c0e 100755 --- a/sitespeed.io +++ b/sitespeed.io @@ -62,6 +62,8 @@ done) result=($(printf '%s\n' "${links[@]}"|sort|uniq)) +echo "Fetched ${#result[@]} pages" + # Setup dirs REPORT_DIR="sitespeed-result/sitespeed-$HOST-$NOW" REPORT_DATA_DIR="$REPORT_DIR/data" @@ -88,7 +90,7 @@ do done echo ''>> "$REPORT_DATA_DIR/result.xml" -echo 'Create the page report HTML' +echo 'Create the page report HTML' java -jar dependencies/xml-velocity-1.0-full.jar $REPORT_DATA_DIR/result.xml report/velocity/pages.vm report/properties/pages.properties $REPORT_DIR/report.html echo 'Create the summary HTML'