mirror of
https://github.com/cheeaun/phanpy.git
synced 2024-11-21 16:55:25 +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 [uiState, setUIState] = useState('loading');
|
||||
__BENCHMARK.start('app-init');
|
||||
__BENCHMARK.start('time-to-home');
|
||||
useLingui();
|
||||
|
||||
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/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 ""
|
||||
|
|
|
@ -66,6 +66,7 @@ function Following({ title, path, id, ...props }) {
|
|||
});
|
||||
}
|
||||
__BENCHMARK.end('fetch-home-first');
|
||||
__BENCHMARK.end('time-to-home');
|
||||
return {
|
||||
...results,
|
||||
value,
|
||||
|
|
Loading…
Reference in a new issue