mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-03-30 21:23:45 +03:00
Test cross-file benchmark
This commit is contained in:
parent
8839e89d2b
commit
8618deec29
3 changed files with 5 additions and 3 deletions
|
@ -327,6 +327,7 @@ function App() {
|
||||||
const [isLoggedIn, setIsLoggedIn] = useState(false);
|
const [isLoggedIn, setIsLoggedIn] = useState(false);
|
||||||
const [uiState, setUIState] = useState('loading');
|
const [uiState, setUIState] = useState('loading');
|
||||||
__BENCHMARK.start('app-init');
|
__BENCHMARK.start('app-init');
|
||||||
|
__BENCHMARK.start('time-to-home');
|
||||||
useLingui();
|
useLingui();
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
|
|
6
src/locales/en.po
generated
6
src/locales/en.po
generated
|
@ -54,7 +54,7 @@ msgstr ""
|
||||||
#: src/components/nav-menu.jsx:193
|
#: src/components/nav-menu.jsx:193
|
||||||
#: src/components/shortcuts-settings.jsx:137
|
#: src/components/shortcuts-settings.jsx:137
|
||||||
#: src/pages/following.jsx:20
|
#: src/pages/following.jsx:20
|
||||||
#: src/pages/following.jsx:133
|
#: src/pages/following.jsx:134
|
||||||
msgid "Following"
|
msgid "Following"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
@ -2889,11 +2889,11 @@ msgstr ""
|
||||||
msgid "No hashtags followed yet."
|
msgid "No hashtags followed yet."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/pages/following.jsx:135
|
#: src/pages/following.jsx:136
|
||||||
msgid "Nothing to see here."
|
msgid "Nothing to see here."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/pages/following.jsx:136
|
#: src/pages/following.jsx:137
|
||||||
#: src/pages/list.jsx:108
|
#: src/pages/list.jsx:108
|
||||||
msgid "Unable to load posts."
|
msgid "Unable to load posts."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
|
@ -66,6 +66,7 @@ function Following({ title, path, id, ...props }) {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
__BENCHMARK.end('fetch-home-first');
|
__BENCHMARK.end('fetch-home-first');
|
||||||
|
__BENCHMARK.end('time-to-home');
|
||||||
return {
|
return {
|
||||||
...results,
|
...results,
|
||||||
value,
|
value,
|
||||||
|
|
Loading…
Add table
Reference in a new issue