flutter / flutter/devtools

Switching from class to class sometimes is slow

Abierto
#4,851 4 comentarios 0 reacciones 0 asignados Ver en GitHub
devtools app performance memory > diff P2 screen: memory
Lenguaje dominante
Dart
Estrellas
1.7k
Forks
404
Merge medio
6 d 17 h
PR fusionados (30 d)
18

Descripción

On the memory diff tab, after taking a snapshot, pretend we have classes A and B.

Selecting class A performs computation to calculate the set of retaining paths for to A. Then selecting class B, does the same thing for all the retaining paths of class B. Selecting class A again should be fast, since we have already performed this work. But it appears to take equally as long to compute the set of retaining paths. I suspect we are not caching this computation.

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.