Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(180)

Side by Side Diff: LayoutTests/inspector/tracing/frame-model-expected.txt

Issue 1144963002: Timeline: visually distinguish idle frames (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: review comments Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 Test the frames are correctly built based on trace events 1 Test the frames are correctly built based on trace events
2 2
3 Test: main thread only 3 Test: main thread only
4 { 4 {
5 cpuTime : 4.001 5 cpuTime : 4.001
6 duration : 16 6 duration : 16
7 endTime : 1016.001 7 endTime : 1016.001
8 idle : false
8 startTime : 1000.001 9 startTime : 1000.001
9 timeByCategory : { 10 timeByCategory : {
10 other : 0.004 11 other : 0.004
11 scripting : 3.997 12 scripting : 3.997
12 } 13 }
13 } 14 }
14 { 15 {
15 cpuTime : 12.994 16 cpuTime : 12.994
16 duration : 16 17 duration : 16
17 endTime : 1032.001 18 endTime : 1032.001
19 idle : false
18 startTime : 1016.001 20 startTime : 1016.001
19 timeByCategory : { 21 timeByCategory : {
20 other : 3.998 22 other : 3.998
21 rendering : 5.999 23 rendering : 5.999
22 scripting : 2.997 24 scripting : 2.997
23 } 25 }
24 } 26 }
25 { 27 {
26 cpuTime : 1.999 28 cpuTime : 1.999
27 duration : 16 29 duration : 16
28 endTime : 1048.001 30 endTime : 1048.001
31 idle : false
29 startTime : 1032.001 32 startTime : 1032.001
30 timeByCategory : { 33 timeByCategory : {
31 other : 1.999 34 other : 1.999
32 } 35 }
33 } 36 }
34 Test: impl-side only 37 Test: impl-side only
35 { 38 {
36 cpuTime : 0 39 cpuTime : 0
37 duration : 30 40 duration : 30
38 endTime : 1030 41 endTime : 1030
42 idle : false
39 startTime : 1000 43 startTime : 1000
40 timeByCategory : { 44 timeByCategory : {
41 } 45 }
42 } 46 }
43 { 47 {
44 cpuTime : 0 48 cpuTime : 0
45 duration : 16 49 duration : 16
46 endTime : 1046 50 endTime : 1046
51 idle : false
47 startTime : 1030 52 startTime : 1030
48 timeByCategory : { 53 timeByCategory : {
49 } 54 }
50 } 55 }
51 { 56 {
52 cpuTime : 2.997 57 cpuTime : 2.997
53 duration : 32 58 duration : 32
54 endTime : 1078 59 endTime : 1078
60 idle : false
55 startTime : 1046 61 startTime : 1046
56 timeByCategory : { 62 timeByCategory : {
57 painting : 2.997 63 painting : 2.997
58 } 64 }
59 } 65 }
60 { 66 {
61 cpuTime : 0 67 cpuTime : 0
62 duration : 3 68 duration : 3
63 endTime : 1081 69 endTime : 1081
70 idle : false
64 startTime : 1078 71 startTime : 1078
65 timeByCategory : { 72 timeByCategory : {
66 } 73 }
67 } 74 }
68 Test: impl-side with commits 75 Test: impl-side with commits
69 { 76 {
70 cpuTime : 32.999 77 cpuTime : 32.999
71 duration : 46 78 duration : 46
72 endTime : 1046 79 endTime : 1046
80 idle : false
73 startTime : 1000 81 startTime : 1000
74 timeByCategory : { 82 timeByCategory : {
75 other : 3.003 83 other : 3.003
76 painting : 1.999 84 painting : 1.999
77 rendering : 10 85 rendering : 10
78 scripting : 17.997 86 scripting : 17.997
79 } 87 }
80 } 88 }
81 { 89 {
82 cpuTime : 11.999 90 cpuTime : 11.999
83 duration : 16 91 duration : 16
84 endTime : 1062 92 endTime : 1062
93 idle : false
85 startTime : 1046 94 startTime : 1046
86 timeByCategory : { 95 timeByCategory : {
87 other : 11.988003 96 other : 11.988003
88 painting : 0.010997 97 painting : 0.010997
89 } 98 }
90 } 99 }
91 Test: impl-side with interleaving commits 100 Test: impl-side with interleaving commits
92 { 101 {
93 cpuTime : 12.999 102 cpuTime : 12.999
94 duration : 14.001 103 duration : 14.001
95 endTime : 1014.001 104 endTime : 1014.001
105 idle : false
96 startTime : 1000 106 startTime : 1000
97 timeByCategory : { 107 timeByCategory : {
98 other : 12.986003 108 other : 12.986003
99 painting : 0.012997 109 painting : 0.012997
100 } 110 }
101 } 111 }
102 { 112 {
103 cpuTime : 12.999 113 cpuTime : 12.999
104 duration : 16 114 duration : 16
105 endTime : 1030.001 115 endTime : 1030.001
116 idle : false
106 startTime : 1014.001 117 startTime : 1014.001
107 timeByCategory : { 118 timeByCategory : {
108 other : 0.003 119 other : 0.003
109 painting : 3.999 120 painting : 3.999
110 scripting : 8.997 121 scripting : 8.997
111 } 122 }
112 } 123 }
113 { 124 {
114 cpuTime : 12.999 125 cpuTime : 12.999
115 duration : 16 126 duration : 16
116 endTime : 1046.001 127 endTime : 1046.001
128 idle : false
117 startTime : 1030.001 129 startTime : 1030.001
118 timeByCategory : { 130 timeByCategory : {
119 other : 0.003 131 other : 0.003
120 painting : 7.999 132 painting : 7.999
121 scripting : 4.997 133 scripting : 4.997
122 } 134 }
123 } 135 }
124 Test: pre-frame time accounting 136 Test: pre-frame time accounting
125 { 137 {
126 cpuTime : 2.999 138 cpuTime : 2.999
127 duration : 3.001 139 duration : 3.001
128 endTime : 1035.001 140 endTime : 1035.001
141 idle : false
129 startTime : 1032 142 startTime : 1032
130 timeByCategory : { 143 timeByCategory : {
131 other : 1.601 144 other : 1.601
132 painting : 0.598 145 painting : 0.598
133 rendering : 0.8 146 rendering : 0.8
134 } 147 }
135 } 148 }
136 { 149 {
137 cpuTime : 0 150 cpuTime : 0
138 duration : 28 151 duration : 28
139 endTime : 1063.001 152 endTime : 1063.001
153 idle : false
140 startTime : 1035.001 154 startTime : 1035.001
141 timeByCategory : { 155 timeByCategory : {
142 } 156 }
143 } 157 }
144 { 158 {
145 cpuTime : 20.998 159 cpuTime : 20.998
146 duration : 8.001 160 duration : 8.001
147 endTime : 1071.002 161 endTime : 1071.002
162 idle : false
148 startTime : 1063.001 163 startTime : 1063.001
149 timeByCategory : { 164 timeByCategory : {
150 other : 6.005 165 other : 6.005
151 painting : 2.998 166 painting : 2.998
152 rendering : 2.998 167 rendering : 2.998
153 scripting : 8.997 168 scripting : 8.997
154 } 169 }
155 } 170 }
156 { 171 {
157 cpuTime : 8.998 172 cpuTime : 8.998
158 duration : 10 173 duration : 10
159 endTime : 1081.002 174 endTime : 1081.002
175 idle : false
160 startTime : 1071.002 176 startTime : 1071.002
161 timeByCategory : { 177 timeByCategory : {
162 other : 5.002 178 other : 5.002
163 painting : 0.998 179 painting : 0.998
164 rendering : 2.998 180 rendering : 2.998
165 } 181 }
166 } 182 }
167 { 183 {
168 cpuTime : 0 184 cpuTime : 0
169 duration : 15 185 duration : 15
170 endTime : 1096.002 186 endTime : 1096.002
187 idle : false
171 startTime : 1081.002 188 startTime : 1081.002
172 timeByCategory : { 189 timeByCategory : {
173 } 190 }
174 } 191 }
175 Test: record processing order 192 Test: record processing order
176 { 193 {
177 cpuTime : 15.999 194 cpuTime : 15.999
178 duration : 13.005 195 duration : 13.005
179 endTime : 1013.005 196 endTime : 1013.005
197 idle : false
180 startTime : 1000 198 startTime : 1000
181 timeByCategory : { 199 timeByCategory : {
182 other : 0.005 200 other : 0.005
183 painting : 3.997 201 painting : 3.997
184 scripting : 11.997 202 scripting : 11.997
185 } 203 }
186 } 204 }
187 { 205 {
188 cpuTime : 0 206 cpuTime : 0
189 duration : 16.996 207 duration : 16.996
190 endTime : 1030.001 208 endTime : 1030.001
209 idle : false
191 startTime : 1013.005 210 startTime : 1013.005
192 timeByCategory : { 211 timeByCategory : {
193 } 212 }
194 } 213 }
195 { 214 {
196 cpuTime : 31.999 215 cpuTime : 31.999
197 duration : 32 216 duration : 32
198 endTime : 1062.001 217 endTime : 1062.001
218 idle : false
199 startTime : 1030.001 219 startTime : 1030.001
200 timeByCategory : { 220 timeByCategory : {
201 other : 1.005 221 other : 1.005
202 painting : 19.997 222 painting : 19.997
203 scripting : 10.997 223 scripting : 10.997
204 } 224 }
205 } 225 }
206 { 226 {
207 cpuTime : 0 227 cpuTime : 0
208 duration : 18 228 duration : 18
209 endTime : 1080.001 229 endTime : 1080.001
230 idle : false
210 startTime : 1062.001 231 startTime : 1062.001
211 timeByCategory : { 232 timeByCategory : {
212 } 233 }
213 } 234 }
214 Test: commits without activation 235 Test: commits without activation
215 { 236 {
216 cpuTime : 0 237 cpuTime : 0
217 duration : 14.001 238 duration : 14.001
218 endTime : 1014.001 239 endTime : 1014.001
240 idle : false
219 startTime : 1000 241 startTime : 1000
220 timeByCategory : { 242 timeByCategory : {
221 } 243 }
222 } 244 }
223 { 245 {
224 cpuTime : 0 246 cpuTime : 0
225 duration : 16 247 duration : 16
226 endTime : 1030.001 248 endTime : 1030.001
249 idle : false
227 startTime : 1014.001 250 startTime : 1014.001
228 timeByCategory : { 251 timeByCategory : {
229 } 252 }
230 } 253 }
231 { 254 {
232 cpuTime : 0 255 cpuTime : 0
233 duration : 16 256 duration : 16
234 endTime : 1046.001 257 endTime : 1046.001
258 idle : false
235 startTime : 1030.001 259 startTime : 1030.001
236 timeByCategory : { 260 timeByCategory : {
237 } 261 }
238 } 262 }
263 Test: Idle frames
264 {
265 cpuTime : 12.999
266 duration : 14.001
267 endTime : 1014.001
268 idle : false
269 startTime : 1000
270 timeByCategory : {
271 other : 0.003
272 painting : 7.999
273 scripting : 4.997
274 }
275 }
276 {
277 cpuTime : 0
278 duration : 249.999
279 endTime : 1264
280 idle : true
281 startTime : 1014.001
282 timeByCategory : {
283 }
284 }
285 {
286 cpuTime : 24
287 duration : 32.001
288 endTime : 1296.001
289 idle : false
290 startTime : 1264
291 timeByCategory : {
292 other : 0.5
293 painting : 0.5
294 scripting : 23
295 }
296 }
297 {
298 cpuTime : 0
299 duration : 15.999
300 endTime : 1312
301 idle : false
302 startTime : 1296.001
303 timeByCategory : {
304 }
305 }
239 306
OLDNEW
« no previous file with comments | « LayoutTests/inspector/tracing/frame-model.html ('k') | Source/devtools/front_end/timeline/TimelineFlameChart.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698