Bug 237928 - [PLT] base64StringForIconNameAndType might not be the best way to load media icons
Summary: [PLT] base64StringForIconNameAndType might not be the best way to load media ...
Status: RESOLVED CONFIGURATION CHANGED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore JavaScript (show other bugs)
Version: WebKit Local Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Justin Michaud
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-03-15 15:47 PDT by Justin Michaud
Modified: 2024-04-08 13:37 PDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Justin Michaud 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.
Comment 1 Radar WebKit Bug Importer 2022-03-22 15:48:17 PDT
<rdar://problem/90663895>
Comment 2 Justin Michaud 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.
Comment 3 Justin Michaud 2024-04-08 13:37:31 PDT
Closing old bugs assigned to me