[FR] Make it easier to identify performance bottlenecks in app
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Cần làm rõ
- Mức độ hoạt động
- Ít trao đổi
- Công nghệ
- dart
- Lĩnh vực
- performance, tooling
Hướng nghiên cứu
Bắt đầu với việc theo dõi hiện có của Performance Panel đối với việc build widget, layout và paint, sau đó truy vết cách các sự kiện của Flutter engine đến được ring buffer của Dart VM Service. Issue đưa ra hai phương án có phạm vi rất khác nhau, vì vậy cần thống nhất các tiêu chí hoàn thành và một điểm bắt đầu triển khai trước khi có thể bắt đầu công việc.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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
- Ngôn ngữ chính
- Dart
- Star
- 1.7k
- Fork
- 420
- Merge trung bình
- 3 ngày 11 giờ
- Pull request đã merge (30 ngày)
- 29
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của flutter/devtools
-
Check for modern web libraries to determine if an app is a web appCó thể đã có người làm @hkarmoush đã nhận 36 ngày trước. Đang mởP1 type-code-health
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
flutter/devtools#9973 · 4 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
`dcm analyze` false positivesĐang mởP2 type-code-health
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
flutter/devtools#9942 · 3 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Inspector V2] Widget properties tab highlight extends past its rounded edgeCó thể làm lại được @theprantadutta đã nhận 195 ngày trước và không có pull request nào đang mở. Đang mởcontributions welcome cross-screen inspector-2.0-polish P2
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
flutter/devtools#8936 · 3 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Support removing storage keysĐang mởcross-screen P3
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 1 ngày
-
documentation good first issue P2
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
flutter/devtools#8293 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của flutter/devtools
Issue tương tự
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 60/100
hiddify/hiddify-app#2668 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
toyota-connected/emb_cli#358 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area: import beta cluster: callers box improvements severity: minor status: confirmed type: bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
ibanner56/CallersCompendium#2366 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
ccch1mneyyy/dsh-Go#1777 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area: mobile documentation good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
CommandLineCoding/Elephant#383 ·
Maintainer thường phản hồi trong vòng 1 ngày