diff --git a/src/app.jsx b/src/app.jsx index f17699d9..e1858af5 100644 --- a/src/app.jsx +++ b/src/app.jsx @@ -327,6 +327,7 @@ function App() { const [isLoggedIn, setIsLoggedIn] = useState(false); const [uiState, setUIState] = useState('loading'); __BENCHMARK.start('app-init'); + __BENCHMARK.start('time-to-home'); useLingui(); useEffect(() => { diff --git a/src/locales/en.po b/src/locales/en.po index b32ad141..761391b8 100644 --- a/src/locales/en.po +++ b/src/locales/en.po @@ -54,7 +54,7 @@ msgstr "" #: src/components/nav-menu.jsx:193 #: src/components/shortcuts-settings.jsx:137 #: src/pages/following.jsx:20 -#: src/pages/following.jsx:133 +#: src/pages/following.jsx:134 msgid "Following" msgstr "" @@ -2889,11 +2889,11 @@ msgstr "" msgid "No hashtags followed yet." msgstr "" -#: src/pages/following.jsx:135 +#: src/pages/following.jsx:136 msgid "Nothing to see here." msgstr "" -#: src/pages/following.jsx:136 +#: src/pages/following.jsx:137 #: src/pages/list.jsx:108 msgid "Unable to load posts." msgstr "" diff --git a/src/pages/following.jsx b/src/pages/following.jsx index 266d2083..af6f8608 100644 --- a/src/pages/following.jsx +++ b/src/pages/following.jsx @@ -66,6 +66,7 @@ function Following({ title, path, id, ...props }) { }); } __BENCHMARK.end('fetch-home-first'); + __BENCHMARK.end('time-to-home'); return { ...results, value,