Skip to content

Surface cost of intrinsics calculations in traces #93031

@goderbauer

Description

@goderbauer

IntrinsicHeight and IntrinsicWidth can be pretty expensive. In traces, this cost is currently only seen when debugProfileLayoutsEnabled is turned on. We should surfaces it in the traces even if that option is turned off.

/cc @dnfield
/cc @kenzieschmoll The cost of intrinsics may be another thing to highlight in janky frames.

Metadata

Metadata

Assignees

Labels

a: devtoolsDevTools related - suite of performance and debugging toolsframeworkflutter/packages/flutter repository. See also f: labels.waiting for PR to land (fixed)A fix is in flight

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions