flutter / flutter/devtools

Monitor the memory of DevTools extension iFrames

Offen
#6,293 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
devtools app memory devtools extensions enhancement P2 product-quality
Vorherrschende Sprache
Dart
Sterne
1.7k
Forks
404
Ø Merge
6 T. 17 Std.
Gemergte PRs (30 T.)
18

Beschreibung

`performance.memory.totalJSHeapSize` - call this via JS interop and it should give the JS heap size of the current iframe.

Side note: we probably also want to start tracking this for DevTools proper to catch cases where DevTools memory usage is excessive.

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Start by locating the DevTools extension iframe code and its existing JavaScript interop entry points. Investigate how performance.memory.totalJSHeapSize can be read for the current iframe, then determine how the value should be tracked for extension iframes and DevTools proper; done means memory usage is recorded in both intended contexts.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
dart
Bereich
devtools, performance
Issue-Typ
Feature
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
45/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.