Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ed7b29a

Browse files
authored
Migrate the "Non-speed related performance issues" issue template to Github forms (#135130)
Closes flutter/flutter#119920 ### The difference with the speed issue template - Issue's main description - DevTools stats observation section ### Demo - Demo issue template: [My app has some non-speed performance issues](https://github.com/huycozy/flutter/issues/new?assignees=&labels=from%3A+performance+template&projects=&template=4_performance_others.yml) - Demo a filed issue: huycozy/flutter#7
1 parent 4756f8b commit ed7b29a

2 files changed

Lines changed: 114 additions & 67 deletions

File tree

.github/ISSUE_TEMPLATE/4_performance_others.md

Lines changed: 0 additions & 67 deletions
This file was deleted.
Lines changed: 114 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,114 @@
1+
name: My app has some non-speed performance issues
2+
description: |
3+
You are writing an application but have discovered that it uses too much memory,
4+
too much energy (e.g., CPU/GPU usage is high), or its app size is too large.
5+
labels: 'from: performance template'
6+
body:
7+
- type: markdown
8+
attributes:
9+
value: |
10+
Thank you for using Flutter!
11+
12+
If you are looking for support, please check out our documentation
13+
or consider asking a question on Stack Overflow:
14+
15+
- https://flutter.dev/
16+
- https://api.flutter.dev/
17+
- https://stackoverflow.com/questions/tagged/flutter?sort=frequent
18+
- type: textarea
19+
attributes:
20+
label: Steps to reproduce
21+
description: Please tell us exactly how to reproduce the problem you are running into, and how you measured the performance.
22+
placeholder: |
23+
1. ...
24+
2. ...
25+
3. ...
26+
validations:
27+
required: true
28+
- type: textarea
29+
attributes:
30+
label: Code sample
31+
description: |
32+
Please create a minimal reproducible sample that shows the problem and attach it below between the lines with the backticks.
33+
34+
Try to reproduce the problem in a test app. Either run `flutter create janktest` and recreate the situation you are experiencing in that app, or clone your app and delete code until you have the jank reproducing with a single `.dart` file.
35+
36+
If you need more than just a `.dart` file (for example, assets are needed to reproduce the issue, or plugins/packages are needed to reproduce the issue) then create a GitHub repository and upload code there.
37+
38+
Without this we will unlikely be able to progress on the issue, and because of that we regretfully will have to close it.
39+
40+
Note: Please do not upload screenshots of text. Instead, use code blocks or the above mentioned ways to upload your code sample.
41+
value: |
42+
<details><summary>Code sample</summary>
43+
44+
```dart
45+
[Paste your code here]
46+
```
47+
48+
</details>
49+
validations:
50+
required: true
51+
- type: dropdown
52+
id: target_platforms
53+
attributes:
54+
label: What target platforms are you seeing this bug on?
55+
multiple: true
56+
options:
57+
- Android
58+
- iOS
59+
- Web
60+
- macOS
61+
- Linux
62+
- Windows
63+
validations:
64+
required: true
65+
- type: textarea
66+
attributes:
67+
label: OS/Browser name and version | Device information
68+
description: |
69+
Which target OS version is the test system running? For Web, please provide browser version.
70+
Please also include the device information (model, CPU architecture, etc).
71+
validations:
72+
required: true
73+
- type: dropdown
74+
id: device-kind
75+
attributes:
76+
label: Does the problem occur on emulator/simulator as well as on physical devices?
77+
options:
78+
- "Unknown"
79+
- "Yes"
80+
- "No"
81+
validations:
82+
required: true
83+
- type: textarea
84+
attributes:
85+
label: Logs
86+
description: |
87+
Include the full logs of the commands you are running between the lines with the backticks below. If you are running any `flutter` commands, please include the output of running them with `--verbose`; for example, the output of running `flutter --verbose create foo`.
88+
89+
If the logs are too large to be uploaded to GitHub, you may upload them as a `txt` file or use online tools like https://pastebin.com to share it.
90+
91+
Note: Please do not upload screenshots of text. Instead, use code blocks or the above mentioned ways to upload logs.
92+
value: |
93+
<details><summary>Logs</summary>
94+
95+
```console
96+
[Paste your logs here]
97+
```
98+
99+
</details>
100+
- type: textarea
101+
attributes:
102+
label: Flutter Doctor output
103+
description: |
104+
Finally, paste the output of running `flutter doctor -v` here, with your device plugged in.
105+
value: |
106+
<details><summary>Doctor output</summary>
107+
108+
```console
109+
[Paste your output here]
110+
```
111+
112+
</details>
113+
validations:
114+
required: true

0 commit comments

Comments
 (0)