[FR] Make it easier to identify performance bottlenecks in app
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 35/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Necesita aclaración
- Estado de actividad
- Tranquilo
- Stack tecnológico
- dart
- Área
- performance, tooling
Línea de trabajo
Comienza con el seguimiento existente del Performance Panel para las compilaciones de widgets, los layouts y los paints, y luego rastrea cómo llegan los eventos del motor de Flutter al ring buffer de Dart VM Service. El issue presenta dos alternativas con alcances muy diferentes, por lo que deben acordarse los criterios de finalización y un punto de entrada para la implementación antes de poder comenzar el trabajo.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Description
A user is requesting a way to easily find the widget/s responsible for performance issues in their app.
The Performance Panel currently supports tracking widget builds, layouts, and paints to help users diagnose where their app is experiencing bottlenecks.
However, if the app has high frame rates, they can experience data loss in DevTools because the perf events overflow the ring buffer before they can analyze them.
Possible solutions
1. Table of slowest widget builds, layouts, or paints.
Along with displaying the data in the flame chart, we could also sort the data and display the slowest phases at the top of a table to help users quickly identify where their app is experiencing issues.
Estimated scope: S/M (1 week - 1 month)
2. Disabling widgets from the performance view
The user suggested a possible solution of disabling widgets from the performance view. This is a significantly more challenging request. Currently, the Flutter engine is responsible for emitting the build, layout, and paint events. The Dart VM Service listens to these events, and adds them to a ring buffer. The primary challenge here is communicating with the Flutter engine to not emit the events for certain widgets, either with a service extension registered on the framework, or perhaps an annotation that users can add to their widget source code.
Estimated scope: XL (quarter+)
See original request here
- Lenguaje dominante
- Dart
- Estrellas
- 1.7k
- Forks
- 420
- Merge medio
- 3 d 11 h
- PR fusionados (30 d)
- 29
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de flutter/devtools
-
Check for modern web libraries to determine if an app is a web appPosiblemente ocupada @hkarmoush la tomó hace 36 días. AbiertoP1 type-code-health
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
flutter/devtools#9973 · 4 comentarios ·
Los mantenedores suelen responder en 1 día
-
`dcm analyze` false positivesAbiertoP2 type-code-health
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
flutter/devtools#9942 · 3 comentarios ·
Los mantenedores suelen responder en 1 día
-
[Inspector V2] Widget properties tab highlight extends past its rounded edgeQuizá libre de nuevo @theprantadutta la tomó hace 195 días y no hay ningún pull request abierto. Abiertocontributions welcome cross-screen inspector-2.0-polish P2
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
flutter/devtools#8936 · 3 comentarios ·
Los mantenedores suelen responder en 1 día
-
Support removing storage keysAbiertocross-screen P3
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Los mantenedores suelen responder en 1 día
-
documentation good first issue P2
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
flutter/devtools#8293 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
Todos los issues de flutter/devtools
Issues similares
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 60/100
hiddify/hiddify-app#2668 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
toyota-connected/emb_cli#358 ·
Los mantenedores suelen responder en 1 día
-
area: import beta cluster: callers box improvements severity: minor status: confirmed type: bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
ibanner56/CallersCompendium#2366 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
ccch1mneyyy/dsh-Go#1777 ·
Los mantenedores suelen responder en 1 día
-
area: mobile documentation good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
CommandLineCoding/Elephant#383 ·
Los mantenedores suelen responder en 1 día