test(startup): expose startup performance marks and clear cache on auth loss
Continuous Integration / build_web (push) Failing after 0s
Continuous Integration / build (macos-latest) (push) Skipped
Continuous Integration / build (ubuntu-22.04) (push) Skipped
Continuous Integration / build (windows-11-arm) (push) Skipped
Continuous Integration / build (windows-latest) (push) Skipped
Continuous Integration / nightly_release (push) Skipped

Marks splash/session/render/home timings in production as well, and drops cached home data when the session is rejected.
This commit is contained in:
1xDed committed 2026-11-28 17:30:39 +03:00
1 parent 6a1467e864
commit e5f1ff34ed
3 files changed
+7 -2

No files matched your search

+1 -1
View File
@@ -13,7 +13,7 @@ const SplashHider = () => {
// The effect runs after React committed the app shell; the static
// splash has done its job and can fade out immediately.
splash.classList.add("hidden");
if (import.meta.env.DEV) performance.mark("blink:splash-hidden");
performance.mark("blink:splash-hidden");
const timer = window.setTimeout(() => splash.remove(), 260);
return () => window.clearTimeout(timer);
}, []);