Skip to content

Add a script to record Compose recomposition traces - #370

Merged
tikurahul merged 1 commit into
android:mainfrom
ShikaSD:recomposition-tracing-script
Oct 23, 2026
Merged

tikurahul merged 1 commit into
android:mainfrom
ShikaSD:recomposition-tracing-script

Conversation

@ShikaSD

@ShikaSD ShikaSD commented Oct 23, 2026

Copy link
Copy Markdown
Contributor

Adds RecompositionTracing folder with the script + updates README

RecompositionTracing/record_recomposition_trace.py starts in-process and
recomposition tracing in the target app, records a Perfetto system trace
until a timeout or Ctrl+C/SIGTERM, then stops tracing, pulls the traces and
merges them into a single ZIP that ui.perfetto.dev and trace_processor can
open.
@ShikaSD
ShikaSD requested a review from a team as a code owner October 23, 2026 19:49

@tikurahul tikurahul left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@tikurahul
tikurahul merged commit 05c8130 into android:main Oct 23, 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