Skip to content

Commit a3b0982

Browse files
authored
perf(tasks): benchmark durable task registration churn (#119828)
* perf(tasks): add durable registry churn benchmark * test(tasks): cover registry churn benchmark contract * chore(tasks): wire registry churn benchmark
1 parent 7321c44 commit a3b0982

5 files changed

Lines changed: 1492 additions & 0 deletions

File tree

‎config/knip.config.ts‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,8 @@ const rootEntries = [
119119
"scripts/openclaw-cross-os-release-checks.ts!",
120120
// Spawned by the agent concurrency benchmark; no static import edge exists.
121121
"scripts/bench-agent-concurrency-worker.ts!",
122+
// Spawned by the durable task registry churn benchmark in a fresh GC-enabled process.
123+
"scripts/bench-task-registry-sqlite-worker.ts!",
122124
"scripts/bench-sqlite-reliability.ts!",
123125
// Docker/manual E2E executables and their nested assertion/probe entrypoints.
124126
"scripts/e2e/*.{js,mjs,ts}!",

‎package.json‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1868,6 +1868,7 @@
18681868
"test:parallels:windows:prepare": "bash scripts/e2e/parallels-windows-prepare.sh",
18691869
"test:parallels:windows": "bash scripts/e2e/parallels-windows-smoke.sh",
18701870
"test:agents:concurrency": "node --import tsx scripts/bench-agent-concurrency.ts",
1871+
"test:tasks:sqlite-churn": "node --import tsx scripts/bench-task-registry-sqlite.ts",
18711872
"test:perf:budget": "node scripts/test-perf-budget.mjs",
18721873
"test:perf:changed:bench": "node scripts/bench-test-changed.mjs",
18731874
"test:perf:groups": "node scripts/test-group-report.mjs",

0 commit comments

Comments
 (0)