Record after-phase0 performance benchmark results

This commit is contained in:
Jonathan Sykes
2026-10-07 17:21:08 +08:00
parent 7bc5b4f8b5
commit 09125f3f5c
2 changed files with 1647 additions and 2 deletions

View File

@@ -214,9 +214,15 @@ class ServerManager {
async stop() {
if (this.serverProcess) {
this.serverProcess.kill('SIGKILL');
const proc = this.serverProcess;
this.serverProcess = null;
await sleep(100);
await new Promise((resolve) => {
if (proc.exitCode !== null) return resolve();
proc.once('exit', () => resolve());
proc.kill('SIGKILL');
setTimeout(resolve, 2000);
});
await sleep(200);
}
}

File diff suppressed because it is too large Load Diff