@@ -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 }
@@ -435,6 +445,14 @@ export type DeveloperResourceLoadingFinishedEvent = Readonly<{
435445 } > ,
436446} > ;
437447
448+ export type DeveloperResourcesStartupLoadingFinishedEvent = Readonly < {
449+ eventName : 'DeveloperResources.StartupLoadingFinished' ,
450+ params : Readonly < {
451+ numResources : number ,
452+ timeSinceLaunch : DOMHighResTimeStamp ,
453+ } > ,
454+ } > ;
455+
438456export type FuseboxSetClientMetadataStartedEvent = Readonly < {
439457 eventName : 'FuseboxSetClientMetadataStarted' ,
440458} > ;
@@ -523,10 +541,10 @@ export type ManualBreakpointSetSucceeded = Readonly<{
523541
524542export type ReactNativeChromeDevToolsEvent =
525543 EntrypointLoadingStartedEvent | EntrypointLoadingFinishedEvent | DebuggerReadyEvent | BrowserVisibilityChangeEvent |
526- BrowserErrorEvent | RemoteDebuggingTerminatedEvent | DeveloperResourceLoadingStartedEvent |
527- DeveloperResourceLoadingFinishedEvent | FuseboxSetClientMetadataStartedEvent | FuseboxSetClientMetadataFinishedEvent |
528- MemoryPanelActionStartedEvent | MemoryPanelActionFinishedEvent | PanelShownEvent | PanelClosedEvent |
529- StackTraceSymbolicationSucceeded | StackTraceSymbolicationFailed | StackTraceFrameUrlResolutionSucceeded |
530- StackTraceFrameUrlResolutionFailed | ManualBreakpointSetSucceeded | StackTraceFrameClicked ;
544+ BrowserErrorEvent | RemoteDebuggingTerminatedEvent | DeveloperResourceLoadingStartedEvent | StackTraceFrameClicked |
545+ DeveloperResourceLoadingFinishedEvent | DeveloperResourcesStartupLoadingFinishedEvent | FuseboxSetClientMetadataStartedEvent |
546+ FuseboxSetClientMetadataFinishedEvent | MemoryPanelActionStartedEvent | MemoryPanelActionFinishedEvent |
547+ PanelShownEvent | PanelClosedEvent | StackTraceSymbolicationSucceeded | StackTraceSymbolicationFailed |
548+ StackTraceFrameUrlResolutionSucceeded | StackTraceFrameUrlResolutionFailed | ManualBreakpointSetSucceeded ;
531549
532550export type DecoratedReactNativeChromeDevToolsEvent = CommonEventFields & ReactNativeChromeDevToolsEvent ;
0 commit comments