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:
1 parent
1bf048eb8b
commit
eecc2bc28d
26 files changed
+3688
-5
No files matched your search
@@ -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;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user