(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?