@@ -11,8 +11,6 @@ export type APIMethod<TParams, TResult> = { params: TParams; result: TResult; };
1111
1212export interface APIMethodInfo {
1313 release : APIMethod < ReleaseParams , void > ;
14- getServerTiming : APIMethod < void , ServerTimingInfo > ;
15- resetServerTiming : APIMethod < void , void > ;
1614 initialize : APIMethod < null , InitializeResponse > ;
1715 updateSnapshot : APIMethod < UpdateSnapshotParams , UpdateSnapshotResponse > ;
1816 updateTemporarySnapshot : APIMethod < UpdateTemporarySnapshotParams , UpdateSnapshotResponse > ;
@@ -158,22 +156,6 @@ export interface ReleaseParams {
158156 snapshot : number ;
159157}
160158
161- /**
162- * serverTimingInfo is a point-in-time snapshot of collected server timing,
163- * returned to clients in response to a getServerTiming request.
164- */
165- export interface ServerTimingInfo {
166- /** Enabled reports whether server-side timing collection is active. */
167- enabled : boolean ;
168- /** Totals are the running totals across every handled request. */
169- totals : ServerTimingTotals ;
170- /**
171- * RecentRequests are the most recent requests, oldest to newest, up to
172- * serverRecentRequestCapacity.
173- */
174- recentRequests : ServerRequestTiming [ ] | null ;
175- }
176-
177159/** InitializeResponse is returned by the initialize method. */
178160export interface InitializeResponse {
179161 /** UseCaseSensitiveFileNames indicates whether the host file system is case-sensitive. */
@@ -875,27 +857,6 @@ export interface ProfileResult {
875857 file : string ;
876858}
877859
878- /** serverTimingTotals holds running totals accumulated across every handled request. */
879- export interface ServerTimingTotals {
880- /** RequestCount is the total number of requests measured. */
881- requestCount : number ;
882- /** TotalProcessingTimeMs is the sum of server processing time, in milliseconds. */
883- totalProcessingTimeMs : number ;
884- }
885-
886- /** serverRequestTiming is a single server-side request's processing-time sample. */
887- export interface ServerRequestTiming {
888- /** Method is the API method that was handled. */
889- method : string ;
890- /**
891- * ProcessingTimeMs is the wall-clock time the server spent handling the
892- * request, in milliseconds.
893- */
894- processingTimeMs : number ;
895- /** Timestamp is the Unix time in milliseconds when the request completed. */
896- timestamp : number ;
897- }
898-
899860/**
900861 * APIFileChanges describes file changes to apply when updating a snapshot.
901862 * Either InvalidateAll is true (discard all caches) or Changed/Created/Deleted
0 commit comments