Formerly KrillinAI, VideoTranslation and Dubbing Tool for 120+ Languages. Open-source AI workspace for creators, powered by Codex. Video downloader, video translation, create videos, images, audios, and edits with Agents in one place. For your Social Media like YouTube, TikTok, Instagram, etc.
TypeScript agent-skillscodex-clideskop-appdubbingimage-generationlocalizationskillsttsvideo-editingvideo-generationvideo-transcriptionvideo-translation
test(perf): account for initial Agent setup and resource budgets
Leggettd855dc7acedd
diff --git a/apps/web/e2e/scheduled-task-performance.spec.ts b/apps/web/e2e/scheduled-task-performance.spec.tsindex 37df5c69..699309c2 100644--- a/apps/web/e2e/scheduled-task-performance.spec.ts+++ b/apps/web/e2e/scheduled-task-performance.spec.ts@@ -263,7 +263,7 @@ function expectLoadRequestBudget(requests: RuntimeRequest[],taskThreadIds: ReadonlySet<string>): void {- expect(requests.length).toBeLessThanOrEqual(MAX_RUNTIME_REQUESTS_PER_LOAD);+ expect(requests.length, JSON.stringify(requests)).toBeLessThanOrEqual(MAX_RUNTIME_REQUESTS_PER_LOAD);expect(threadListRequests(requests).length).toBeLessThanOrEqual(MAX_THREAD_LIST_REQUESTS_PER_LOAD);diff --git a/docs/performance/2026-09-04-scheduled-task-100-baseline.json b/docs/performance/2026-09-04-scheduled-task-100-baseline.jsonindex b32a3e33..40f5ffba 100644--- a/docs/performance/2026-09-04-scheduled-task-100-baseline.json+++ b/docs/performance/2026-09-04-scheduled-task-100-baseline.json@@ -3,7 +3,7 @@"scenario": "scheduled-task-100","seedCount": 100,"thresholds": {- "maxRuntimeRequestsPerLoad": 12,+ "maxRuntimeRequestsPerLoad": 14,"maxThreadListRequestsPerLoad": 2,"maxScheduleViewRequests": 3,"maxSearchViewRequests": 2,@@ -22,7 +22,7 @@"height": 900},"measurements": {- "initialRuntimeRequests": 12,+ "initialRuntimeRequests": 14,"refreshRuntimeRequests": 12,"initialThreadListRequests": 2,"refreshThreadListRequests": 2,@@ -43,7 +43,7 @@"height": 844},"measurements": {- "initialRuntimeRequests": 12,+ "initialRuntimeRequests": 14,"refreshRuntimeRequests": 12,"initialThreadListRequests": 2,"refreshThreadListRequests": 2,diff --git a/scripts/check-performance-baseline.mjs b/scripts/check-performance-baseline.mjsindex 6b0cf595..a52454bf 100644--- a/scripts/check-performance-baseline.mjs+++ b/scripts/check-performance-baseline.mjs@@ -42,8 +42,8 @@ function measureAssets() {{label: 'Web 主入口 JavaScript',pattern: /^index-[^.]+\.js$/,- maxBytes: 720_000,- maxGzipBytes: 200_000+ maxBytes: 750_000,+ maxGzipBytes: 215_000},{label: 'FilesPage JavaScript',@@ -67,7 +67,7 @@ function measureAssets() {label: 'Web 主样式',pattern: /^index-[^.]+\.css$/,maxBytes: 150_000,- maxGzipBytes: 24_000+ maxGzipBytes: 25_000}];