Skip to content

Expose task tree and section limits in report - #22

Merged
jackfranklin merged 1 commit into
ChromeDevTools:mainfrom
kurtextrem:codex/report-section-limits
Nov 25, 2026
Merged

jackfranklin merged 1 commit into
ChromeDevTools:mainfrom
kurtextrem:codex/report-section-limits

Conversation

@kurtextrem

Copy link
Copy Markdown
Contributor

Summary

  • Add --tasks-tree, --tasks-top, and --network-top to report so callers can request task call trees and raise or lower both section limits after one trace parse.
  • Pass the options through to the standalone extractors. The default tasks section remains a long-task list, and both sections default to 20 rows.
  • Test parity with the standalone commands, renderer thread selection, large limits, and validation before trace loading.

Example

trace-engine-cli report trace.json.gz --sections tasks,network \
  --tasks-tree bottom-up --tasks-top 1000000 --network-top 1000000 -f json

Verification

  • npm test (158 tests)
  • npm run check
  • npm run build

@jackfranklin
jackfranklin merged commit a3af07f into ChromeDevTools:main Nov 25, 2026
9 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