Skip to content

[Android] LinkedList iteration in ImageProducer is surprisingly slow #143721

@jonahwilliams

Description

@jonahwilliams

After removing the fence waiting from #143720 , the CPU trace looks like the following. it looks like 46ms out of 232ms is spent in linked list iteration methods. Maybe we can re-arrange this to use ArrayList to make it faster.

image

See also: #142153

Metadata

Metadata

Assignees

Labels

P2Important issues not at the top of the work listengineflutter/engine related. See also e: labels.platform-androidAndroid applications specificallyr: fixedIssue is closed as already fixed in a newer versionteam-androidOwned by Android platform teamtriaged-androidTriaged by Android platform team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions