Add a feature parameter to fork the prefetch process from the renderer
Advantages of forking from the renderer instead of the browser: - Prioritizes prefetching the native library used by the renderer, which is more critical for page load latency. - Leverages the native library shared with Chrome, ensuring it is always ordered. - Reduces the browser process's workload during WebView startup. Potential drawback: - If the renderer initialization is delayed, the prefetch operation may also be delayed. Bug: 395567815 Change-Id: I502ccfe243bbe4f34921468a50b93bf9dc97222c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6299173 Commit-Queue: Ziad Youssef <ziadyoussef@chromium.org> Reviewed-by: Peter Beverloo <peter@chromium.org> Cr-Commit-Position: refs/heads/main@{#1425084}
This commit is contained in:

committed by
Chromium LUCI CQ

parent
91e09126ff
commit
752649644d
android_webview
common
glue
java
src
com
android
webview
chromium
renderer
testing/variations
@ -26352,6 +26352,9 @@
|
||||
"experiments": [
|
||||
{
|
||||
"name": "Enabled",
|
||||
"params": {
|
||||
"WebViewPrefetchFromRenderer": "true"
|
||||
},
|
||||
"enable_features": [
|
||||
"WebViewPrefetchNativeLibrary"
|
||||
]
|
||||
|
Reference in New Issue
Block a user