Skip to content

tp: Optimize Fuchsia trace wakeup event parsing#5868

Open
gmittert wants to merge 1 commit into
google:mainfrom
gmittert:FeelingLoopyWhileWakingUp
Open

tp: Optimize Fuchsia trace wakeup event parsing#5868
gmittert wants to merge 1 commit into
google:mainfrom
gmittert:FeelingLoopyWhileWakingUp

Conversation

@gmittert
Copy link
Copy Markdown
Contributor

Replace the O(N) scan of the thread_state_table for resolving waker_id during wakeup events with hashmap lookup of the threads_ table.

Resolves accidentally quadratic resolving of waking records during trace loading.

Replace the O(N) scan of the thread_state_table for resolving waker_id
during wakeup events with hashmap lookup of the threads_ table.

Resolves accidentally quadratic resolving of waking records during trace
loading.
@gmittert gmittert requested a review from a team as a code owner May 14, 2026 03:01
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.

1 participant