Skip to content

Rename Timeline to Performance and populate CPU profile on frame selection#2563

Merged
kenzieschmoll merged 4 commits intoflutter:masterfrom
kenzieschmoll:perf
Dec 22, 2020
Merged

Rename Timeline to Performance and populate CPU profile on frame selection#2563
kenzieschmoll merged 4 commits intoflutter:masterfrom
kenzieschmoll:perf

Conversation

@kenzieschmoll
Copy link
Member

Only functional change is populating a the CPU profile section of the timeline page (now performance page) when a flutter frame is selected from above. The remaining changes are renames from "timeline" to "performance".

Fixes #2497

}
}

if (mainIsolate == null) return;
Copy link
Member Author

Choose a reason for hiding this comment

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

@jacob314 this seemed to fix the flakes we were seeing. Do you see any problem with this change?

Copy link
Contributor

Choose a reason for hiding this comment

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

seems reasonable as it would crash on the next line anyway without the return.

Copy link
Contributor

@jacob314 jacob314 left a comment

Choose a reason for hiding this comment

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

lgtm

@kenzieschmoll kenzieschmoll merged commit ea3494f into flutter:master Dec 22, 2020
@kenzieschmoll kenzieschmoll deleted the perf branch December 22, 2020 20:04
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.

P1: Consider merging functionality from Timeline and Performance pages

2 participants