playwright-performance-reporter
Version:
Measure and publish performance metrics from browser dev-tools when running playwright
10 lines (9 loc) • 414 B
TypeScript
import { type GarbageCollectorObserverOptions, type MeasurePlugin, type MetricObserver } from '../types/index.js';
/**
* Enhances garbage collection plugin
*
* @param options
* @param garbageCollectorPlugin
* @param observer
*/
export declare function enhanceGarbageCollectionPlugin(garbageCollectorPlugin: MeasurePlugin<any>, observer: MetricObserver<any>, options?: GarbageCollectorObserverOptions): void;