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

Issue 7888023: Initialize webkit thread asynchronously

Created:
9 years, 3 months ago by joth
Modified:
7 years, 7 months ago
Reviewers:
CC:
chromium-reviews, joi+watch-content_chromium.org, jam, dpranke+watch-content_chromium.org, darin-cc_chromium.org
Visibility:
Public.

Description

Initialize webkit thread asynchronously Tracing reveals that the UI thread can get blocked waiting of WebKit::initialize for quite some time on startup; this kicks off the thread creation earlier and lets it run initialization asynchronously only blocking at the point it's absolutely needed. On battery powered (and esp multicore) machines this can save 60ms on startup. BUG=None TEST=WebKitThreadTest. browser still starts....

Patch Set 1 #

Patch Set 2 : Simple async init, no change of ownership #

Patch Set 3 : minor tidy patchset 2 #

Patch Set 4 : rebased #

Patch Set 5 : rebase #

Patch Set 6 : fix patch error #

Patch Set 7 : w #

Patch Set 8 : fix comment #

Patch Set 9 : rebase #

Patch Set 10 : rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+33 lines, -21 lines) Patch
M content/browser/in_process_webkit/webkit_thread.h View 1 2 3 4 5 6 7 8 9 2 chunks +1 line, -15 lines 0 comments Download
M content/browser/in_process_webkit/webkit_thread.cc View 1 2 3 4 5 6 7 8 9 3 chunks +32 lines, -6 lines 0 comments Download

Powered by Google App Engine
This is Rietveld 408576698