MCPcopy
hub / github.com/Zizzamia/perfume.js / IPerfumeOptions

Interface IPerfumeOptions

src/types.ts:102–116  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

100}
101
102export interface IPerfumeOptions {
103 // Metrics
104 resourceTiming?: boolean;
105 elementTiming?: boolean;
106 // Analytics
107 analyticsTracker?: (options: IAnalyticsTrackerOptions) => void;
108 // Logging
109 maxMeasureTime?: number;
110 // web-vitals report options
111 reportOptions?: WebVitalsReportOptions;
112 // Steps definitions
113 steps?: IStepsConfig;
114 // Callback that will run each time a mark is called
115 onMarkStep?: (mark: string, steps: string[]) => void;
116}
117
118export interface IMetricMap {
119 [measureName: string]: boolean;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected