Use getFaviconForPageURL instead of tab.faviconUrl as favicon
tab.faviconUrl is a base64 stream of image for each tab. It's slow to generate, heavy to transfer and not reusable. getFaviconForPageURL uses chrome://favicon2 to get fav url from history, which is much more efficient but can not work in incognito mode. Since tab search is not supported in incognito mode, using getFaviconForPageURL is a performance win. Related CL: https://chromium-review.googlesource.com/c/chromium/src/+/2406932 Bug: 1099917 Change-Id: If8b711b2b566fef2b1334c17ac768008f50ca867 Reviewed-on: https://chrome-internal-review.googlesource.com/c/chrome/browser/resources/tab_search/+/3265887Reviewed-by:Tom Lukaszewicz <tluk@chromium.org> Reviewed-by:
John Lee <johntlee@chromium.org> Cr-Commit-Position: refs/heads/master@{#819596}
Showing
Please register or sign in to comment