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

Issue 8463019: Convert render thread idle delays from seconds to milliseconds. (Closed)

Created:
9 years, 1 month ago by ulan
Modified:
9 years, 1 month ago
Reviewers:
jam, Matt Perry
CC:
chromium-reviews, Erik does not do reviews, jam, mihaip+watch_chromium.org, dpranke-watch+content_chromium.org, joi+watch-content_chromium.org, Aaron Boodman, darin-cc_chromium.org, brettw-cc_chromium.org
Visibility:
Public.

Description

Convert render thread idle delays from seconds to milliseconds. This CL eliminates double to integer conversions when scheduling the idle timer and allows subsecond delays. The existing code simply rounds the delay down to an integer when scheduling the idle timer, which means that any subsecond delay schedules a timer with zero delay. BUG= TEST= Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=109866

Patch Set 1 #

Total comments: 2

Patch Set 2 : Address comments, fix compile error in test_support_content. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+49 lines, -45 lines) Patch
M chrome/renderer/extensions/extension_dispatcher.cc View 1 6 chunks +11 lines, -11 lines 0 comments Download
M content/public/renderer/render_thread.h View 1 chunk +4 lines, -4 lines 0 comments Download
M content/renderer/render_thread_impl.h View 2 chunks +5 lines, -5 lines 0 comments Download
M content/renderer/render_thread_impl.cc View 1 5 chunks +20 lines, -16 lines 0 comments Download
M content/test/mock_render_thread.h View 1 1 chunk +4 lines, -4 lines 0 comments Download
M content/test/mock_render_thread.cc View 1 chunk +5 lines, -5 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
ulan
Please take a look. This CL eliminates double to integer conversions when scheduling the idle ...
9 years, 1 month ago (2011-11-11 17:10:03 UTC) #1
jam
lgtm http://codereview.chromium.org/8463019/diff/1/chrome/renderer/extensions/extension_dispatcher.cc File chrome/renderer/extensions/extension_dispatcher.cc (right): http://codereview.chromium.org/8463019/diff/1/chrome/renderer/extensions/extension_dispatcher.cc#newcode35 chrome/renderer/extensions/extension_dispatcher.cc:35: static const int64 kInitialExtensionIdleHandlerDelayMs = 5*1000 /* ms ...
9 years, 1 month ago (2011-11-11 18:10:09 UTC) #2
Matt Perry
LGTM, but what's the motivation for this change? Could you add it to the CL ...
9 years, 1 month ago (2011-11-11 22:09:25 UTC) #3
ulan
On 2011/11/11 22:09:25, Matt Perry wrote: > LGTM, but what's the motivation for this change? ...
9 years, 1 month ago (2011-11-14 10:12:42 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ulan@chromium.org/8463019/1
9 years, 1 month ago (2011-11-14 10:12:51 UTC) #5
commit-bot: I haz the power
Try job failure for 8463019-1 (retry) on win_rel for step "compile" (clobber build). It's a ...
9 years, 1 month ago (2011-11-14 10:24:42 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ulan@chromium.org/8463019/8001
9 years, 1 month ago (2011-11-14 11:03:12 UTC) #7
commit-bot: I haz the power
9 years, 1 month ago (2011-11-14 12:09:46 UTC) #8
Change committed as 109866

Powered by Google App Engine
This is Rietveld 408576698