/** * Paper-6 WebGPU Cross-Backend Matrix Benchmark — browser entry point. * * Imports the canonical AnimationSamplingProbe, runs it in the browser, * detects environment (browser / OS / GPU), measures per-stage latency, * computes the FNV-1a hash, and exposes the artifact on * window.__PAPER6_WEBGPU_ARTIFACT__ for the Playwright harness to capture. * * Build: pnpm run build:paper6-bench * (esbuild bundles this entry into benchmark-paper6-webgpu.js) * * Run: npx playwright test tests/paper-6-webgpu-matrix.spec.ts * (or open benchmark-paper6-webgpu.html directly in a browser) */ interface Paper6CellResult { browser: string; os: string; gpuVendor: string; gpuDevice: string | null; gpuArchitecture: string | null; adapterDescription: string | null; hash: number; baselineHash: number; hashEqual: boolean; timings: { preimageBuild_ms: number; schemaValidation_ms: number; sampling_ms: number; hashing_ms: number; regressionCheck_ms: number; total_ms: number; }; } interface Paper6WebGPUArtifact { schema_version: string; benchmark: string; outputPath: string; generatedAt: string; status: 'initializing' | 'completed' | 'error' | 'aborted_wrong_adapter'; target: string; strictAdapter: boolean; commitSha: string; driver: string; sourceHtml: string; browserUserAgent: string; cell: Paper6CellResult | null; failures: Array<{ stage: string; message: string; timestamp: string; }>; notes: string[]; } declare global { interface Window { __PAPER6_WEBGPU_ARTIFACT__?: Paper6WebGPUArtifact; } } export {}; //# sourceMappingURL=paper-6-webgpu-matrix.entry.d.ts.map