Commit a694400
committed
Remove the collapse animation for the package list's initial appearance.
For large datasets, the initialization time was through the roof (90+
seconds for a package list with around 1500 items in it). I think the
problem was that the PackageWidgets were going through animations while
also trying to measure things (slideUp/Down to collapse/expand all at
once, and trying to measure the width of the barchart bars for label
positioning). I added an 'animate' parameter to the 'collapseChildren'
method, and use false for the initial collapse of all of the widgets. I
also removed the 'animating' property, since nothing was using it, and
it looked relatively expensive to calculate. Now the 90 second load time
is more like 5 seconds (for the dataset I was testing with, Jenkins)1 parent c984d06 commit a694400
File tree
2 files changed
+11
-45
lines changed- codepulse/src/main/resources/toserve/pages/traces
2 files changed
+11
-45
lines changedLines changed: 4 additions & 32 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | 29 | | |
33 | 30 | | |
34 | 31 | | |
| |||
39 | 36 | | |
40 | 37 | | |
41 | 38 | | |
| 39 | + | |
| 40 | + | |
42 | 41 | | |
43 | 42 | | |
44 | 43 | | |
45 | 44 | | |
46 | 45 | | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | 46 | | |
52 | | - | |
| 47 | + | |
53 | 48 | | |
54 | 49 | | |
55 | 50 | | |
| |||
153 | 148 | | |
154 | 149 | | |
155 | 150 | | |
156 | | - | |
157 | | - | |
158 | | - | |
159 | | - | |
160 | | - | |
161 | | - | |
162 | | - | |
163 | | - | |
164 | | - | |
165 | | - | |
166 | | - | |
167 | | - | |
168 | | - | |
169 | | - | |
170 | | - | |
171 | | - | |
172 | | - | |
173 | | - | |
174 | | - | |
175 | | - | |
176 | | - | |
177 | | - | |
178 | | - | |
179 | 151 | | |
180 | 152 | | |
181 | 153 | | |
| |||
220 | 192 | | |
221 | 193 | | |
222 | 194 | | |
223 | | - | |
| 195 | + | |
224 | 196 | | |
225 | 197 | | |
226 | 198 | | |
| |||
Lines changed: 7 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
79 | | - | |
80 | | - | |
| 79 | + | |
81 | 80 | | |
82 | 81 | | |
83 | 82 | | |
| |||
195 | 194 | | |
196 | 195 | | |
197 | 196 | | |
198 | | - | |
| 197 | + | |
199 | 198 | | |
200 | 199 | | |
201 | 200 | | |
202 | 201 | | |
203 | 202 | | |
204 | 203 | | |
205 | 204 | | |
206 | | - | |
207 | | - | |
208 | | - | |
209 | | - | |
210 | | - | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
211 | 210 | | |
212 | 211 | | |
213 | 212 | | |
| |||
232 | 231 | | |
233 | 232 | | |
234 | 233 | | |
235 | | - | |
236 | | - | |
237 | | - | |
238 | | - | |
239 | | - | |
240 | 234 | | |
241 | 235 | | |
242 | 236 | | |
| |||
0 commit comments