From 1ad972b59bf64bbb1cdec952ba8b29bc4e270266 Mon Sep 17 00:00:00 2001
From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>
Date: Fri, 17 Jan 2025 14:55:59 +1100
Subject: app: log startup time

---
 app.tsx | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

(limited to 'app.tsx')

diff --git a/app.tsx b/app.tsx
index 66cc1ca..2a40258 100644
--- a/app.tsx
+++ b/app.tsx
@@ -19,6 +19,7 @@ App.start({
     icons: "assets/icons",
     iconTheme: "Adwaita",
     main() {
+        const now = Date.now();
         loadStyleAsync().catch(console.error);
 
         <Launcher />;
@@ -27,7 +28,7 @@ App.start({
         Monitors.get_default().forEach(m => <Bar monitor={m} />);
         <Popdowns />;
 
-        console.log("Caelestia started");
+        console.log(`Caelestia started in ${Date.now() - now}ms`);
     },
     requestHandler(request, res) {
         if (request === "reload css") loadStyleAsync().catch(console.error);
-- 
cgit v1.2.3-freya

