flutter / flutter/devtools

Switching from class to class sometimes is slow

Ouverte
#4,851 4 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
devtools app performance memory > diff P2 screen: memory
Langage dominant
Dart
Étoiles
1.7k
Forks
404
Merge moyen
6 j 17 h
PR mergées (30 j)
18

Description

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.

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.