Skip to content

[Performance][UIBlocking] AppStateMonitor Collect Activity Frame Data Prob #2672

Closed
@ethanhua

Description

截屏2021-05-18 下午3 02 31

FirebasePerformance Log show that our slowFrame&frozenFrame data for each page is added on top of the data for all previous pages,maybe need to call FrameMetricsAggregator.reset method at activity stop lifecycle to solve this problems

截屏2021-05-18 下午3 06 39

Every time the FrameMetricsAggregator.remove method is called, it returns the same mMetrics instance that was not cleared at the stop time, resulting in all pages using the same data

截屏2021-05-18 下午3 09 33

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions