Closed Bug 1309510 Opened 8 years ago Closed 8 years ago

Investigate performance differences between old and new icon code

Categories

(Firefox for Android Graveyard :: Favicon Handling, defect)

All
Android
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: sebastian, Assigned: sebastian)

References

Details

Attachments

(2 files)

In bug 1300490 we saw a performance regression after landing the new icon code. * Only nytimes spiked but not the twitter test - Why? * The old and new icon code both run asynchronously, so it shouldn't affect page loading too much. Why does it? * To avoid performance issues we intentionally load icons only *after* the page has loaded. So why does it affect our performance tests? To answer those questions and debug the performance regression I'll have to look closer at the code and how all components interact - and at what points in time we log the throbber messages for the performance measurements.
Attached image local-nytimes.png (deleted) —
Attached image remote-nytimes.png (deleted) —
I measured the current code (no change), loading disabled and code completely removed for local-nytimes and remote-nytimes on try. I couldn't find any noticeable difference. In fact often the tests with no code change ran faster - again pointing into the direction that this doesn't affect page loading much. In addition to that I looked at the code and the icon load is triggered a little bit before logging the throbber messages. They listen to different events and it doesn't make sense to align them so that icon loading is happening after the throbber messages for performance measurements. Right now there doesn't seem to be a measurable improvement to make.
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: