Bug 237928

Summary: [PLT] base64StringForIconNameAndType might not be the best way to load media icons
Product: WebKit Reporter: Justin Michaud <justin_michaud>
Component: WebCore JavaScriptAssignee: Justin Michaud <justin_michaud>
Status: RESOLVED CONFIGURATION CHANGED    
Severity: Normal CC: eric.carlson, graouts, hi, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Local Build   
Hardware: Unspecified   
OS: Unspecified   

Justin Michaud
Reported 2022-03-15 15:47:24 PDT
base64StringForIconNameAndType shows up as taking about 0.65% of the PLT5 score, so improvements here may be profitable.
Attachments
Radar WebKit Bug Importer
Comment 1 2022-03-22 15:48:17 PDT
Justin Michaud
Comment 2 2022-04-06 15:52:33 PDT
I ran a simple test by making the image loading asynchronous, and found that it was perf neutral. We can probably focus on removing the base64 encoding and possibly reducing the number of calls into JS. Hopefully this is an improvement, and we aren't just measuring the time taken to load the bundle from the file system.
Justin Michaud
Comment 3 2024-04-08 13:37:31 PDT
Closing old bugs assigned to me
Note You need to log in before you can comment on or make changes to this bug.