From 3b8565c33b58196ffe2e3dd8f23a73de57a268f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= Date: Mon, 9 Mar 2020 23:47:05 +0100 Subject: Sprinkled in some time prints. --- module/entry-points/html.scm | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'module/entry-points') diff --git a/module/entry-points/html.scm b/module/entry-points/html.scm index c08dd72d..55fb0c94 100644 --- a/module/entry-points/html.scm +++ b/module/entry-points/html.scm @@ -2,6 +2,7 @@ :export (main) :use-module (output html) :use-module (util) + :use-module (util time) :use-module (vcomponent) :use-module (datetime) :use-module (datetime util) @@ -32,6 +33,9 @@ calendar-files: (cond [(option-ref opts 'file #f) => list] [else (calendar-files)]) )) + + (report-time! "Calendars loaded") + (if (option-ref opts 'chunked #f) (html-chunked-main count calendars events start) (html-generate calendars events start end render-calendar))) -- cgit v1.2.3