Closed Bug 1396943 Opened 8 years ago Closed 6 years ago

Setting preview images slows down list rendering

Categories

(DevTools :: Netmonitor, enhancement)

57 Branch
enhancement
Not set
normal

Tracking

(firefox57 affected)

RESOLVED INVALID
Tracking Status
firefox57 --- affected

People

(Reporter: Harald, Unassigned)

Details

When switching filters on a long list of entries (HTML to All), the rendering takes up to 1s on my fast MBP. https://perfht.ml/2f02zAm Setting the images seems to be the biggest bottleneck. I can see 2 options: 1) Throtte/debounce setting images, so the list is first updated and images are dropped in later. 2) Review how images are set and maybe optimize async ahead of setting them Other findings: React has also overhead for creating children. A possible experiment would be to hide filtered entries vs not rendering them?
Maybe related to 1356536.
(In reply to :Harald Kirschner :digitarald from comment #1) > Maybe related to 1356536. Yes, I am thinking about removing the little previews altogether, so we don't have to request all response bodies (image data) during page load. This is one of the things that would help to improve Net panel performance. We can still use Tooltips (the image data would be fetched from the backend on demand when the tooltip actually opens) Not sure how important are these previews from product perspective. Honza
Product: Firefox → DevTools

Image previews removed, closing
Honza

Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.