Skip to content

Add JSON output for CLI automation - #20

Merged
jackfranklin merged 1 commit into
ChromeDevTools:mainfrom
kurtextrem:codex/trace-json-output
Nov 19, 2026
Merged

jackfranklin merged 1 commit into
ChromeDevTools:mainfrom
kurtextrem:codex/trace-json-output

Conversation

@kurtextrem

Copy link
Copy Markdown
Contributor

Add --format json for automations built on trace-engine-cli. Scripts and CI jobs can use standard JSON tools such as jq to extract metrics or evaluate thresholds.

A future compare mode could use the same flag to expose trace deltas to those automations. The comparison command is discussed in #10.

Fixes the missing JSON output requested in #9.

A CLI regression test verifies that the default overview emits valid JSON. Verified with npm run check, npm run build, and npm test.

@jackfranklin
jackfranklin merged commit 07f32d3 into ChromeDevTools:main Nov 19, 2026
6 checks passed
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.

2 participants