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

Issue 542353002: Shortcut a couple of IPCs when the task manager is disabled. (Closed)

Created:
6 years, 3 months ago by tonyg
Modified:
6 years, 3 months ago
Reviewers:
Lei Zhang
CC:
chromium-reviews, jeremy, sullivan
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Shortcut a couple of IPCs when the task manager is disabled. This saves about 6 idle wakeups on the top_10 idle energy benchmark. It can save up to 1/second in the general case. BUG=411488 Committed: https://crrev.com/d2ba7bcc92922a0d1b5c4dc205c42e0110ecf83f Cr-Commit-Position: refs/heads/master@{#293813}

Patch Set 1 #

Patch Set 2 : thread safety #

Total comments: 6

Patch Set 3 : address comments from thestig #

Unified diffs Side-by-side diffs Delta from patch set Stats (+23 lines, -0 lines) Patch
M chrome/browser/task_manager/task_manager.h View 1 2 2 chunks +7 lines, -0 lines 0 comments Download
M chrome/browser/task_manager/task_manager.cc View 1 2 5 chunks +16 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (3 generated)
tonyg
Lei, since nick is on leave, would you mind taking a look?
6 years, 3 months ago (2014-09-06 00:18:03 UTC) #3
Lei Zhang
lgtm https://codereview.chromium.org/542353002/diff/20001/chrome/browser/task_manager/task_manager.cc File chrome/browser/task_manager/task_manager.cc (right): https://codereview.chromium.org/542353002/diff/20001/chrome/browser/task_manager/task_manager.cc#newcode1256 chrome/browser/task_manager/task_manager.cc:1256: if (!is_updating_byte_count_) { nit: no need for braces ...
6 years, 3 months ago (2014-09-06 06:17:47 UTC) #4
tonyg
https://codereview.chromium.org/542353002/diff/20001/chrome/browser/task_manager/task_manager.cc File chrome/browser/task_manager/task_manager.cc (right): https://codereview.chromium.org/542353002/diff/20001/chrome/browser/task_manager/task_manager.cc#newcode1256 chrome/browser/task_manager/task_manager.cc:1256: if (!is_updating_byte_count_) { On 2014/09/06 06:17:46, Lei Zhang wrote: ...
6 years, 3 months ago (2014-09-08 18:59:38 UTC) #5
Lei Zhang
lgtm++
6 years, 3 months ago (2014-09-08 19:01:02 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tonyg@chromium.org/542353002/40001
6 years, 3 months ago (2014-09-08 19:08:58 UTC) #8
commit-bot: I haz the power
Committed patchset #3 (id:40001) as 4aa342f00cf8b4537091c98e275e6a3ee598ae67
6 years, 3 months ago (2014-09-08 23:39:39 UTC) #9
commit-bot: I haz the power
6 years, 3 months ago (2014-09-10 03:49:00 UTC) #10
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/d2ba7bcc92922a0d1b5c4dc205c42e0110ecf83f
Cr-Commit-Position: refs/heads/master@{#293813}

Powered by Google App Engine
This is Rietveld 408576698