Use Service ID zones where beneficial
- Lingua principale
- Dart
- Stelle
- 1.7k
- Fork
- 404
- Merge medio
- 6g 17h
- PR unite (30g)
- 18
Descrizione
The APIs for managing Service ID zones have been released in [`package:vm_service 14.3.0`](https://pub.dev/packages/vm_service/versions/14.3.0). These APIs can be used to free object IDs when they are no longer needed, to ensure that objects associated with those IDs are not retained for longer than necessary. I believe that [using Service ID zones in DAP](https://github.com/dart-lang/sdk/issues/56794) will have the biggest impact on the memory footprint of debugging, but please check if DevTools can benefit from these APIs in any way.
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Inizia esaminando le API delle zone dei Service ID rilasciate in vm_service 14.3.0 e la issue DAP 56794 collegata. Non sono indicati file o test di DevTools, quindi esamina come DevTools gestisce i Service ID e determina se le zone riducono gli oggetti trattenuti; il lavoro è completo quando il beneficio è documentato e viene implementato qualsiasi uso giustificato.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- dart
- Ambito
- devtools, performance
- Tipo di issue
- Funzionalità
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 35/100