Skip to content

feat: add session perf metrics command#121

Merged
thymikee merged 4 commits into
mainfrom
codex/perf-metrics
Feb 25, 2026
Merged

feat: add session perf metrics command#121
thymikee merged 4 commits into
mainfrom
codex/perf-metrics

Conversation

@thymikee
Copy link
Copy Markdown
Member

@thymikee thymikee commented Feb 24, 2026

Summary

Add a session-level perf command (alias: metrics) that returns a JSON performance payload with startup timing.

  • Capture startup samples from open command round-trip timing (open-command-roundtrip) and persist them in session action history.
  • Expose perf through session handler + command schema + capability matrix + CLI rendering.
  • Add tests for parser aliasing, perf responses, and startup sample recording from open.
  • Document platform support and sampling method in README and docs.
  • Touched files: 11.
  • Scope note: remained in the session command family plus required parser/capability/docs/test wiring; no cross-family behavior expansion.
  • Known gap/follow-up: fps, memory, and cpu are currently explicit unavailable placeholders in the perf payload.

Fixes #101

Validation

  • pnpm typecheck
  • pnpm test:unit
  • pnpm test:smoke

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Feb 24, 2026

PR Preview Action v1.8.1

QR code for preview link

🚀 View preview at
https://callstackincubator.github.io/agent-device/pr-preview/pr-121/

Built to branch gh-pages at 2026-02-25 12:28 UTC.
Preview will be ready when the GitHub Pages deployment is complete.

@thymikee thymikee merged commit 996d1fc into main Feb 25, 2026
6 checks passed
@thymikee thymikee deleted the codex/perf-metrics branch February 25, 2026 12:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Lower priority] Expose performance metrics (FPS, memory, CPU, startup time)

1 participant