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

Issue 2268653002: [MD Settings] Remove jank for webui. (Closed)

Created:
4 years, 4 months ago by groby-ooo-7-16
Modified:
4 years, 4 months ago
Reviewers:
dproy, Dan Beam, mmenke
CC:
chromium-reviews, jam, darin-cc_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[MD Settings] Remove jank for webui. WebUI URLRequest source data is (on desktop) backed by a memory-mapped file. Copying that data in CompleteRead can trigger jankiness due to potential file IO caused by the read. This CL moves the memcpy on the file thread. It is also a re-land of https://codereview.chromium.org/2158123003/ with minor changes to fix a crash. R=dbeam@chromium.org, mmenke@chromium.org, dproy@chromium.org BUG=455423 Committed: https://crrev.com/d7997eadf6490da014985949715b2cb0d4f67518 Cr-Commit-Position: refs/heads/master@{#414269}

Patch Set 1 : Contents of original CL #

Patch Set 2 : Fix crash from original CL, refcount to make ownership clear. #

Patch Set 3 : Rebase to HEAD #

Unified diffs Side-by-side diffs Delta from patch set Stats (+55 lines, -29 lines) Patch
M content/browser/webui/url_data_manager_backend.cc View 1 2 5 chunks +55 lines, -29 lines 0 comments Download

Messages

Total messages: 26 (11 generated)
groby-ooo-7-16
PTAL - fixed the original crash, and made PostReadTask take a refcounted ptr so ownership ...
4 years, 4 months ago (2016-08-22 18:21:08 UTC) #1
mmenke
On 2016/08/22 18:21:08, groby wrote: > PTAL - fixed the original crash, and made PostReadTask ...
4 years, 4 months ago (2016-08-22 18:29:11 UTC) #3
Dan Beam
lgtm
4 years, 4 months ago (2016-08-22 19:30:52 UTC) #5
dproy
lgtm
4 years, 4 months ago (2016-08-22 19:57:43 UTC) #6
groby-ooo-7-16
IIRC, the chrome://tracing peeps added an interactive UI test for their particular problem. It's not ...
4 years, 4 months ago (2016-08-22 20:15:16 UTC) #7
mmenke
On 2016/08/22 20:15:16, groby wrote: > IIRC, the chrome://tracing peeps added an interactive UI test ...
4 years, 4 months ago (2016-08-22 20:19:12 UTC) #8
dproy
On 2016/08/22 20:15:16, groby wrote: > IIRC, the chrome://tracing peeps added an interactive UI test ...
4 years, 4 months ago (2016-08-22 20:59:00 UTC) #11
mmenke
On 2016/08/22 20:59:00, dproy1 wrote: > On 2016/08/22 20:15:16, groby wrote: > > IIRC, the ...
4 years, 4 months ago (2016-08-22 21:03:04 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2268653002/20001
4 years, 4 months ago (2016-08-24 19:48:13 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: ios-device on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device/builds/57778) ios-simulator on master.tryserver.chromium.mac (JOB_FAILED, ...
4 years, 4 months ago (2016-08-24 19:52:07 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2268653002/40001
4 years, 4 months ago (2016-08-24 20:48:26 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: android_compile_dbg on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_compile_dbg/builds/118039) linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, ...
4 years, 4 months ago (2016-08-24 20:52:45 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2268653002/40001
4 years, 4 months ago (2016-08-25 01:07:04 UTC) #23
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 4 months ago (2016-08-25 02:28:17 UTC) #24
commit-bot: I haz the power
4 years, 4 months ago (2016-08-25 02:30:38 UTC) #26
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/d7997eadf6490da014985949715b2cb0d4f67518
Cr-Commit-Position: refs/heads/master@{#414269}

Powered by Google App Engine
This is Rietveld 408576698