web-perf-mcp
Version:
MCP Server that audits the web page for finding the bottlenecks and CPU profiling using Lighthouse and Puppeteer
17 lines (16 loc) • 460 B
TypeScript
import { TestConfig, PerformanceMetrics } from './types.js';
export declare const outputDir: string;
export declare class AuditRunner {
options: TestConfig;
deviceConfigs: Record<string, {
viewport: {
width: number;
height: number;
};
}>;
constructor(options?: {});
runAudit(url: string): Promise<PerformanceMetrics>;
private runSingleTest;
private combineResults;
private saveResults;
}