Repository navigation
Added
-
Three new
WindPerfResolver.stats()keys (lib/fluttersdk_wind_diagnostics_contracts.dart:72-76): additive contract extension for LLM-first performance analysis. All three areMap<String,int>:widgetBuilds: W-widget type name to build count.wrapperEmissions: Flutter wrapper type emitted by wind to count.inheritedReads: counted reads ofmediaQuerySize,mediaQueryBrightness,windTheme,defaultTextStyle.
Existing six keys (cacheHits,cacheMisses,cacheBypasses,cacheSize,wDivBuilds,wTextBuilds) are unchanged; renaming or removing any key requires a major bump.wDivBuildsandwTextBuildsnow duplicatewidgetBuilds['WDiv']andwidgetBuilds['WText']; they stay for the 1.x line, and a new reader should take per-type counts fromwidgetBuilds.fluttersdk_duskperf snapshots will consume these keys to enrich performance profiles with widget-level and inherited-widget-read metrics.
-
Contract assertion test (
test/fluttersdk_wind_diagnostics_contracts_test.dart:157-192):_CompletePerfResolverfake returning all nine keys, and a test verifying that dusk-style reading code can type-check the three new keys asMap<String,int>and access their expected sub-keys.