Performance improvement to make the first chips appear faster.
Previously, the controller would request the scripts only after GetLastCommittedURL() was available, which takes quite a bit of time (> 1 second on the emulator). Now, the URL is passed directly to the constructor of the controller, which allows it to request the scripts immediately. This results in a moderate performance improvement at the cost of an additional string parameter. Bug: 806868 Change-Id: Ib11024ce8eb4228b1703abfd58a2e52fbad8e1e8 Reviewed-on: https://chromium-review.googlesource.com/c/1297969Reviewed-by:Stephane Zermatten <szermatt@chromium.org> Commit-Queue: Clemens Arbesser <arbesser@google.com> Cr-Commit-Position: refs/heads/master@{#603472}
Showing
Please register or sign in to comment