History

Raise desktop perf timeout and long-dispatch threshold in CI

- Set `T3CODE_PERF_TIMEOUT_MS` default to 420000 in perf trace script - Export `T3CODE_PERF_MAX_LONG_DISPATCH_COUNT=5` across CI desktop perf jobs

Julius Marminge committed 9 months ago

Commit d45fe791 parent 23a6e292 files · +4 −1Browse files

Showing the changes to scripts (1 of 2 files). Show all

Unified · Split

scripts/desktop-perf-trace.mjs+1−1
@@ -515,7 +515,7 @@ async function main() { · 514 unmodified lines
515515 const maxKeypressAvgMs = Number(process.env.T3CODE_PERF_MAX_KEYPRESS_AVG_MS ?? "12");
516516 const maxKeypressMaxMs = Number(process.env.T3CODE_PERF_MAX_KEYPRESS_MAX_MS ?? "24");
517517 const maxLongDispatchCount = Number(process.env.T3CODE_PERF_MAX_LONG_DISPATCH_COUNT ?? "0");
518− const timeoutMs = Number(process.env.T3CODE_PERF_TIMEOUT_MS ?? "240000");
518+ const timeoutMs = Number(process.env.T3CODE_PERF_TIMEOUT_MS ?? "420000");
519519
520520 const child = spawn("bun", ["dev:desktop"], {
521521 cwd: repoRoot,

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t