Add perf regression test harnesses

- Seed reusable perf fixtures for server scenarios
- Add perf provider adapter and web perf tests
- Capture artifacts for virtualization and websocket runs
This commit is contained in:
Julius Marminge committed 2026-04-13 10:05:10 -07:00
1 parent 1bf048eb8b
commit eecc2bc28d
26 files changed
+3688 -5

No files matched your search

+14
View File
@@ -0,0 +1,14 @@
import type { PerfServerMetricSample } from "./artifact.ts";
export interface PerfServerSampler {
readonly start: (input: { readonly pid: number }) => Promise<void>;
readonly stop: () => Promise<ReadonlyArray<PerfServerMetricSample> | null>;
}
export class NoopServerSampler implements PerfServerSampler {
async start(_input: { readonly pid: number }): Promise<void> {}
async stop(): Promise<null> {
return null;
}
}