More accurate app-init benchmark
This commit is contained in:
parent
a6daf19b80
commit
e4474d2d4d
1 changed files with 2 additions and 1 deletions
|
@ -416,12 +416,13 @@ function App() {
|
||||||
} finally {
|
} finally {
|
||||||
setIsLoggedIn(true);
|
setIsLoggedIn(true);
|
||||||
setUIState('default');
|
setUIState('default');
|
||||||
|
__BENCHMARK.end('app-init');
|
||||||
}
|
}
|
||||||
})();
|
})();
|
||||||
} else {
|
} else {
|
||||||
setUIState('default');
|
setUIState('default');
|
||||||
|
__BENCHMARK.end('app-init');
|
||||||
}
|
}
|
||||||
__BENCHMARK.end('app-init');
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Cleanup
|
// Cleanup
|
||||||
|
|
Loading…
Add table
Reference in a new issue