Skip to content

Commit b4e8da5

Browse files
Alyx-MLclaude
andcommitted
chore: add a desktop performance harness
scripts/desktop-perf.ts (vp run perf:desktop) builds a release app, seeds a scratch HOME with a 100,000-message chat and three chats fed by a synthetic streaming agent, and measures launch, opening and scrolling the long chat, streaming, idle, switching and typing against budgets. --baseline prints a before/after table; --deep adds xctrace, sample, vmmap and footprint captures. It never touches ~/.t3. Done with Claude Opus 5.5 in Claude Code. Co-Authored-By: Claude Opus 5.5 <[email protected]>
1 parent 9c16146 commit b4e8da5

2 files changed

Lines changed: 1603 additions & 0 deletions

File tree

‎package.json‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535
"test:perf:v2-wire": "vp test run apps/server/src/orchestration-v2/WireProjection.test.ts apps/server/src/orchestration-v2/threadHistoryPaging.test.ts apps/server/src/orchestration-v2/ThreadStream.test.ts apps/server/src/orchestration-v2/ThreadTransportPerformance.test.ts apps/server/src/orchestration-v2/ShellStream.test.ts apps/server/src/orchestration-v2/CommandPolicy.test.ts apps/server/src/orchestration-v2/runtimeLayer.test.ts apps/server/src/ws.test.ts packages/contracts/src/environmentHttp.test.ts packages/contracts/src/orchestrationV2.test.ts packages/client-runtime/src/operations/commands.test.ts packages/client-runtime/src/operations/commands.performance.test.ts packages/client-runtime/src/state/boundedThreadSnapshotHttp.test.ts packages/client-runtime/src/state/threadHistoryController.test.ts packages/client-runtime/src/state/threadHistoryMerge.test.ts packages/client-runtime/src/state/threadDetail.test.ts packages/client-runtime/src/state/threads-sync.test.ts packages/client-runtime/src/state/shellReducer.test.ts",
3636
"test:resource-monitor": "cargo test --locked --manifest-path native/resource-monitor/Cargo.toml",
3737
"test:desktop-smoke": "vp run --filter @t3tools/desktop smoke-test",
38+
"perf:desktop": "node scripts/desktop-perf.ts",
3839
"fmt": "vp fmt",
3940
"fmt:check": "vp fmt --check",
4041
"dist:desktop:artifact": "node scripts/build-desktop-artifact.ts",

0 commit comments

Comments
 (0)