Commit b3224ac
RPP: Improve tooltip display performance
- Dial back the padding introduced in https://crrev.com/c/6397058
- We've had three separate forced reflows when displaying the tracking tooltip.
1. Reading a mouseEvent.offsetX in Overlays EntryLink when we didn't need to.
2. Reading a scrollTop of an infrequently scrolled item.
3. Reading popover dimensions right after we changed its contents
We can't work around the 3rd easily, but this CL removes the first two.
Change-Id: Iff9ce08968d796aa5c12db3b14346f398493f626
Bug: 40278532,406466030
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/6423121
Commit-Queue: Jack Franklin <[email protected]>
Commit-Queue: Paul Irish <[email protected]>
Auto-Submit: Paul Irish <[email protected]>
Reviewed-by: Jack Franklin <[email protected]>1 parent 9692bed commit b3224ac
File tree
5 files changed
+9
-25
lines changed- front_end
- panels/timeline
- overlays
- ui/legacy/components/perf_ui
5 files changed
+9
-25
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
558 | 558 | | |
559 | 559 | | |
560 | 560 | | |
561 | | - | |
562 | | - | |
563 | | - | |
564 | | - | |
565 | 561 | | |
566 | 562 | | |
567 | 563 | | |
| 564 | + | |
| 565 | + | |
| 566 | + | |
568 | 567 | | |
569 | 568 | | |
570 | 569 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
136 | 136 | | |
137 | 137 | | |
138 | 138 | | |
139 | | - | |
140 | | - | |
| 139 | + | |
| 140 | + | |
141 | 141 | | |
142 | 142 | | |
143 | 143 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
191 | 191 | | |
192 | 192 | | |
193 | 193 | | |
194 | | - | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
195 | 197 | | |
196 | 198 | | |
197 | 199 | | |
| |||
Lines changed: 0 additions & 18 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
538 | 538 | | |
539 | 539 | | |
540 | 540 | | |
541 | | - | |
542 | | - | |
543 | | - | |
544 | | - | |
545 | | - | |
546 | | - | |
547 | | - | |
548 | | - | |
549 | | - | |
550 | | - | |
551 | | - | |
552 | | - | |
553 | | - | |
554 | | - | |
555 | | - | |
556 | | - | |
557 | | - | |
558 | | - | |
559 | 541 | | |
560 | 542 | | |
561 | 543 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
902 | 902 | | |
903 | 903 | | |
904 | 904 | | |
| 905 | + | |
905 | 906 | | |
906 | 907 | | |
907 | 908 | | |
| |||
0 commit comments