Showing the changes to scripts (1 of 1 file). Show all
Unified · Split
| @@ -322,6 +322,12 @@ function createMarkdownSummary({ tracePath, donePayload, summary, thresholds }) · 321 unmodified lines | |||
| 322 | `- Benchmark sweep enabled: ${donePayload.config?.runBenchmarkThreadSweep ?? "n/a"}`, | 322 | `- Benchmark sweep enabled: ${donePayload.config?.runBenchmarkThreadSweep ?? "n/a"}`, |
| 323 | `- Benchmark follow-up pass count: ${donePayload.config?.benchmarkFollowUpPassCount ?? "n/a"}`, | 323 | `- Benchmark follow-up pass count: ${donePayload.config?.benchmarkFollowUpPassCount ?? "n/a"}`, |
| 324 | "", | 324 | "", |
| 325 | "### Threshold Config", | ||
| 326 | "", | ||
| 327 | `- keypress avg max: ${thresholds.maxKeypressAvgMs}ms`, | ||
| 328 | `- keypress max max: ${thresholds.maxKeypressMaxMs}ms`, | ||
| 329 | `- long EventDispatch spike cap: ${thresholds.maxLongDispatchCount}`, | ||
| 330 | "", | ||
| 325 | "### Benchmark Thread Render", | 331 | "### Benchmark Thread Render", |
| 326 | "", | 332 | "", |
| 327 | "| Thread | Title (15) | Messages | First Nav (ms) | Follow-up Median (ms) | Follow-up Range | Delta (ms) | Delta (%) |", | 333 | "| Thread | Title (15) | Messages | First Nav (ms) | Follow-up Median (ms) | Follow-up Range | Delta (ms) | Delta (%) |", |
| @@ -684,6 +690,9 @@ async function main() { · 356 unmodified lines | |||
| 684 | value: process.env.T3CODE_PERF_TIMEOUT_MS, | 690 | value: process.env.T3CODE_PERF_TIMEOUT_MS, |
| 685 | fallback: 420000, | 691 | fallback: 420000, |
| 686 | }); | 692 | }); |
| 693 | console.log( | ||
| 694 | `[desktop-perf] thresholds: keypressAvg<=${maxKeypressAvgMs}ms, keypressMax<=${maxKeypressMaxMs}ms, longDispatch<=${maxLongDispatchCount}, timeoutMs=${timeoutMs}`, | ||
| 695 | ); | ||
| 687 | 696 | ||
| 688 | const child = spawn("bun", ["dev:desktop"], { | 697 | const child = spawn("bun", ["dev:desktop"], { |
| 689 | cwd: repoRoot, | 698 | cwd: repoRoot, |