Mark bundle start time on web (#3147)
* Mark bundle start time on web * TS
This commit is contained in:
parent
1cf49517b5
commit
c8e0fa9c97
2 changed files with 4 additions and 0 deletions
2
src/platform/markBundleStartTime.web.ts
Normal file
2
src/platform/markBundleStartTime.web.ts
Normal file
|
@ -0,0 +1,2 @@
|
|||
// @ts-ignore Web-only. On RN, this is set by Metro.
|
||||
window.__BUNDLE_START_TIME__ = performance.now()
|
Loading…
Add table
Add a link
Reference in a new issue