Skip to content

Conversation

annagrin
Copy link
Contributor

@annagrin annagrin commented Nov 10, 2022

Evaluate an expression in widget_inspector library on isolate start to pre-warm the flutter framework module cache in the expression compiler.

Flutter inspector relies on evaluations in widget_inspector library, which is a part of the flutter framework module, to produce widget trees, draw the layout explorer, show hover cards etc. Pre-warming the cache while DevTools is still loading helps Flutter Inspector start faster.

Related: dart-lang/sdk#49944 (pre-warming will have speedup effect after this change is propagated to callers of dwds that use expression compiler worker)

Closes: #1768

@annagrin annagrin marked this pull request as draft November 10, 2022 01:34
@annagrin annagrin marked this pull request as ready for review December 3, 2022 00:06
@annagrin annagrin requested a review from elliette December 3, 2022 00:06
@annagrin annagrin merged commit e39506e into dart-lang:master Dec 5, 2022
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.

Pre-warm expression compiler cache on web platform to speed up Flutter Inspector
2 participants