Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(207)

Issue 1821413003: Remove logic for lazy initialization of WebKit. (Closed)

Created:
4 years, 9 months ago by jam
Modified:
4 years, 9 months ago
Reviewers:
Avi (use Gerrit)
CC:
chromium-reviews, tzik, nyquist+watch-blimp_chromium.org, kmarshall+watch-blimp_chromium.org, kinuko+watch, jsbell+serviceworker_chromium.org, maniscalco+watch-blimp_chromium.org, marcinjb+watch-blimp_chromium.org, darin-cc_chromium.org, chromium-apps-reviews_chromium.org, android-webview-reviews_chromium.org, blink-worker-reviews_chromium.org, mlamouri+watch-content_chromium.org, extensions-reviews_chromium.org, Peter Beverloo, nhiroki, mkwst+moarreviews-shell_chromium.org, jochen+watch_chromium.org, mlamouri+watch-test-runner_chromium.org, michaeln, anandc+watch-blimp_chromium.org, sriramsr+watch-blimp_chromium.org, serviceworker-reviews, kinuko+serviceworker, mkwst+moarreviews-renderer_chromium.org, horo+watch_chromium.org, dtrainor+watch-blimp_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove logic for lazy initialization of WebKit. See "Extensions impact on startup?" thread on (internal) chrome-fast mailing list from 8/14/2015 for background, which showed that effectively undoing this logic showed a 3% reduction on first_non_empty_paint_time. This lazy initialization used to be a performance win when it was added years ago, but has since become a performance drag. Since it's effectively not used now (since ChromeContentRendererClient::RenderThreadStarted always initializes WebKit through its call to RenderThread::RegisterExtension), just remove this unused logic. Committed: https://crrev.com/75c4422d8fdabd231f40a6c9235f4512f0170268 Cr-Commit-Position: refs/heads/master@{#382795}

Patch Set 1 : #

Patch Set 2 : fix test #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+156 lines, -259 lines) Patch
M android_webview/renderer/aw_content_renderer_client.cc View 1 chunk +0 lines, -3 lines 0 comments Download
M android_webview/renderer/aw_render_process_observer.h View 1 chunk +0 lines, -3 lines 0 comments Download
M android_webview/renderer/aw_render_process_observer.cc View 2 chunks +3 lines, -10 lines 0 comments Download
M blimp/engine/app/blimp_content_renderer_client.cc View 2 chunks +0 lines, -2 lines 0 comments Download
M chrome/renderer/chrome_content_renderer_client.cc View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/renderer/chrome_render_process_observer.h View 3 chunks +0 lines, -6 lines 0 comments Download
M chrome/renderer/chrome_render_process_observer.cc View 4 chunks +15 lines, -22 lines 0 comments Download
M components/web_cache/renderer/web_cache_render_process_observer.h View 3 chunks +1 line, -11 lines 0 comments Download
M components/web_cache/renderer/web_cache_render_process_observer.cc View 3 chunks +3 lines, -31 lines 0 comments Download
M content/public/renderer/render_process_observer.h View 1 chunk +0 lines, -3 lines 0 comments Download
M content/public/renderer/render_thread.h View 1 chunk +0 lines, -4 lines 0 comments Download
M content/public/test/mock_render_thread.h View 1 chunk +0 lines, -1 line 0 comments Download
M content/public/test/mock_render_thread.cc View 1 chunk +0 lines, -3 lines 0 comments Download
M content/renderer/dom_storage/dom_storage_dispatcher.cc View 1 chunk +0 lines, -2 lines 0 comments Download
M content/renderer/render_thread_impl.h View 1 3 chunks +8 lines, -6 lines 0 comments Download
M content/renderer/render_thread_impl.cc View 1 14 chunks +35 lines, -32 lines 2 comments Download
M content/renderer/render_thread_impl_browsertest.cc View 1 2 chunks +9 lines, -15 lines 0 comments Download
M content/renderer/service_worker/embedded_worker_dispatcher.cc View 1 chunk +0 lines, -1 line 0 comments Download
M content/shell/renderer/layout_test/layout_test_render_process_observer.h View 1 chunk +0 lines, -1 line 0 comments Download
M content/shell/renderer/layout_test/layout_test_render_process_observer.cc View 2 chunks +17 lines, -19 lines 0 comments Download
M content/shell/renderer/shell_content_renderer_client.cc View 2 chunks +0 lines, -3 lines 0 comments Download
M content/test/layouttest_support.cc View 1 chunk +0 lines, -1 line 0 comments Download
M extensions/renderer/dispatcher.h View 2 chunks +0 lines, -4 lines 0 comments Download
M extensions/renderer/dispatcher.cc View 7 chunks +65 lines, -75 lines 1 comment Download

Messages

Total messages: 10 (4 generated)
jam
4 years, 9 months ago (2016-03-22 22:19:48 UTC) #3
Avi (use Gerrit)
👍 Good riddance. LGTM https://codereview.chromium.org/1821413003/diff/40001/content/renderer/render_thread_impl.cc File content/renderer/render_thread_impl.cc (right): https://codereview.chromium.org/1821413003/diff/40001/content/renderer/render_thread_impl.cc#newcode656 content/renderer/render_thread_impl.cc:656: InitializeWebKit(resource_task_queue); Can we rename this ...
4 years, 9 months ago (2016-03-23 00:10:39 UTC) #4
jam
On 2016/03/23 00:10:39, Avi wrote: > 👍 > > Good riddance. LGTM > > https://codereview.chromium.org/1821413003/diff/40001/content/renderer/render_thread_impl.cc ...
4 years, 9 months ago (2016-03-23 00:15:00 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1821413003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1821413003/40001
4 years, 9 months ago (2016-03-23 04:11:37 UTC) #7
commit-bot: I haz the power
Committed patchset #2 (id:40001)
4 years, 9 months ago (2016-03-23 05:34:34 UTC) #8
commit-bot: I haz the power
4 years, 9 months ago (2016-03-23 05:35:50 UTC) #10
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/75c4422d8fdabd231f40a6c9235f4512f0170268
Cr-Commit-Position: refs/heads/master@{#382795}

Powered by Google App Engine
This is Rietveld 408576698