@@ -186,6 +186,16 @@ class RNPerfMetrics {
186186 } ) ;
187187 }
188188
189+ developerResourcesStartupLoadingFinishedEvent ( numResources : number , timeSinceLaunch : DOMHighResTimeStamp ) : void {
190+ this . sendEvent ( {
191+ eventName : 'DeveloperResources.StartupLoadingFinished' ,
192+ params : {
193+ numResources,
194+ timeSinceLaunch,
195+ } ,
196+ } ) ;
197+ }
198+
189199 fuseboxSetClientMetadataStarted ( ) : void {
190200 this . sendEvent ( { eventName : 'FuseboxSetClientMetadataStarted' } ) ;
191201 }
@@ -437,6 +447,14 @@ export type DeveloperResourceLoadingFinishedEvent = Readonly<{
437447 } > ,
438448} > ;
439449
450+ export type DeveloperResourcesStartupLoadingFinishedEvent = Readonly < {
451+ eventName : 'DeveloperResources.StartupLoadingFinished' ,
452+ params : Readonly < {
453+ numResources : number ,
454+ timeSinceLaunch : DOMHighResTimeStamp ,
455+ } > ,
456+ } > ;
457+
440458export type FuseboxSetClientMetadataStartedEvent = Readonly < {
441459 eventName : 'FuseboxSetClientMetadataStarted' ,
442460} > ;
@@ -525,10 +543,10 @@ export type ManualBreakpointSetSucceeded = Readonly<{
525543
526544export type ReactNativeChromeDevToolsEvent =
527545 EntrypointLoadingStartedEvent | EntrypointLoadingFinishedEvent | DebuggerReadyEvent | BrowserVisibilityChangeEvent |
528- BrowserErrorEvent | RemoteDebuggingTerminatedEvent | DeveloperResourceLoadingStartedEvent |
529- DeveloperResourceLoadingFinishedEvent | FuseboxSetClientMetadataStartedEvent | FuseboxSetClientMetadataFinishedEvent |
530- MemoryPanelActionStartedEvent | MemoryPanelActionFinishedEvent | PanelShownEvent | PanelClosedEvent |
531- StackTraceSymbolicationSucceeded | StackTraceSymbolicationFailed | StackTraceFrameUrlResolutionSucceeded |
532- StackTraceFrameUrlResolutionFailed | ManualBreakpointSetSucceeded | StackTraceFrameClicked ;
546+ BrowserErrorEvent | RemoteDebuggingTerminatedEvent | DeveloperResourceLoadingStartedEvent | StackTraceFrameClicked |
547+ DeveloperResourceLoadingFinishedEvent | DeveloperResourcesStartupLoadingFinishedEvent | FuseboxSetClientMetadataStartedEvent |
548+ FuseboxSetClientMetadataFinishedEvent | MemoryPanelActionStartedEvent | MemoryPanelActionFinishedEvent |
549+ PanelShownEvent | PanelClosedEvent | StackTraceSymbolicationSucceeded | StackTraceSymbolicationFailed |
550+ StackTraceFrameUrlResolutionSucceeded | StackTraceFrameUrlResolutionFailed | ManualBreakpointSetSucceeded ;
533551
534552export type DecoratedReactNativeChromeDevToolsEvent = CommonEventFields & ReactNativeChromeDevToolsEvent ;
0 commit comments