Extending GetProgramBinary to GeckoView
Categories
(Core :: Graphics: WebRender, enhancement)
Tracking
()
Tracking | Status | |
---|---|---|
firefox68 | --- | fixed |
People
(Reporter: sotaro, Assigned: sotaro)
References
Details
(Whiteboard: [wr-amvp][wr-q2])
Attachments
(2 files)
(deleted),
patch
|
Details | Diff | Splinter Review | |
(deleted),
text/x-phabricator-request
|
Details |
This bug is created based on Bug 1535146 comment 13.
Assignee | ||
Updated•6 years ago
|
Assignee | ||
Updated•6 years ago
|
Assignee | ||
Updated•6 years ago
|
Assignee | ||
Updated•6 years ago
|
Updated•6 years ago
|
Assignee | ||
Comment 1•5 years ago
|
||
Without shader binary disk cache, Device.link_program() took 60 ms - 200 ms for each shader program.
With shader binary disk cache, Device.link_program() took less than 1 ms, though loading from disk took 10 ms - 70 ms. Loading disk cache could be done before WebRender Renderer creation. There were about 200ms from WrProgramCache until the Renderer. The duration could be used for loading binary disk cache. With it, shader binary disk cache could improve start up performance.
Assignee | ||
Comment 2•5 years ago
|
||
Assignee | ||
Comment 3•5 years ago
|
||
Comment 5•5 years ago
|
||
(In reply to Sotaro Ikeda [:sotaro away April/27 - May/6] from comment #1)
Without shader binary disk cache, Device.link_program() took 60 ms - 200 ms for each shader program.
With shader binary disk cache, Device.link_program() took less than 1 ms, though loading from disk took 10 ms - 70 ms.
Nice. In some cases this won't matter - e.g. when the app is launched with an empty intent and we land on the home screen. But when the app is launched with a URL, startup time will be a bottleneck.
Loading disk cache could be done before WebRender Renderer creation. There were about 200ms from WrProgramCache until the Renderer.
Neat - is there any more delay between startup and the current WrProgramCache initialization? If so we could move it even earlier.
The duration could be used for loading binary disk cache. With it, shader binary disk cache could improve start up performance.
That's a great idea - can you get a bug on file?
Comment 6•5 years ago
|
||
bugherder |
Assignee | ||
Comment 7•5 years ago
|
||
(In reply to Bobby Holley (:bholley) from comment #5)
The duration could be used for loading binary disk cache. With it, shader binary disk cache could improve start up performance.
That's a great idea - can you get a bug on file?
Created Bug 1549927.
Description
•