PDF Viewer: Use optimize_webui() to speed up initial load time
(CL series step 3/3) Performance of initial load time is noticeably reduced with this change. Unfortunately have not been able to get exact measurements, because DevTools is not available on PDF Viewer's initial load, and the Performance tab can't be leveraged. The main PDF Viewer bundle can be split further to a main and lazy part in a follow up, to reduce initial load time even more. As of this writing pdf_viewer_wrapper.rollup.js amounts to 263K on Linux and 291K on CrOS. Bug: 1163956 Change-Id: Idef64e8c640d81469b643f4c4d231196cbd4d659 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2625607Reviewed-by:Karan Bhatia <karandeepb@chromium.org> Reviewed-by:
Rebekah Potter <rbpotter@chromium.org> Commit-Queue: Rebekah Potter <rbpotter@chromium.org> Auto-Submit: dpapad <dpapad@chromium.org> Cr-Commit-Position: refs/heads/master@{#843717}
Showing
Please register or sign in to comment