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

Issue 480293004: Performance tuning of HandleWatcher (Closed)

Created:
6 years, 4 months ago by sky
Modified:
6 years, 4 months ago
CC:
chromium-reviews, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, ben+mojo_chromium.org
Project:
chromium
Visibility:
Public.

Description

Performance tuning of HandleWatcher Couple of tweaks: . make WatcherThreadManager maintain a queue of requests and process them at once. . Makes State not unnecessarily cancel requests if it was told the handle is ready. BUG=none TEST=none R=darin@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=291436

Patch Set 1 #

Patch Set 2 : comments #

Total comments: 4

Patch Set 3 : scheduled #

Patch Set 4 : better comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+113 lines, -29 lines) Patch
M mojo/common/handle_watcher.cc View 1 2 3 8 chunks +113 lines, -29 lines 0 comments Download

Messages

Total messages: 23 (0 generated)
sky
6 years, 4 months ago (2014-08-21 23:43:58 UTC) #1
darin (slow to review)
Is it a very common pattern that we start watching a handle and then immediately ...
6 years, 4 months ago (2014-08-21 23:55:12 UTC) #2
sky
I don't think it's a common pattern anymore that we start/stop repeatedly. I could certainly ...
6 years, 4 months ago (2014-08-22 00:03:51 UTC) #3
darin (slow to review)
On 2014/08/22 00:03:51, sky wrote: > I don't think it's a common pattern anymore that ...
6 years, 4 months ago (2014-08-22 00:06:55 UTC) #4
darin (slow to review)
LGTM w/ the additional comment we discussed.
6 years, 4 months ago (2014-08-22 00:10:37 UTC) #5
sky
The CQ bit was checked by sky@chromium.org
6 years, 4 months ago (2014-08-22 00:14:26 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sky@chromium.org/480293004/60001
6 years, 4 months ago (2014-08-22 00:20:49 UTC) #7
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_dbg_tests_recipe on tryserver.chromium.linux ...
6 years, 4 months ago (2014-08-22 01:20:44 UTC) #8
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-22 02:19:05 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: android_dbg_tests_recipe on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/android_dbg_tests_recipe/builds/1190)
6 years, 4 months ago (2014-08-22 02:19:06 UTC) #10
sky
The CQ bit was checked by sky@chromium.org
6 years, 4 months ago (2014-08-22 02:35:13 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sky@chromium.org/480293004/60001
6 years, 4 months ago (2014-08-22 02:36:19 UTC) #12
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_dbg_tests_recipe on tryserver.chromium.linux ...
6 years, 4 months ago (2014-08-22 03:30:53 UTC) #13
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-22 04:26:55 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: android_dbg_tests_recipe on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/android_dbg_tests_recipe/builds/1246)
6 years, 4 months ago (2014-08-22 04:26:56 UTC) #15
sky
The CQ bit was checked by sky@chromium.org
6 years, 4 months ago (2014-08-22 14:00:37 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sky@chromium.org/480293004/60001
6 years, 4 months ago (2014-08-22 14:01:26 UTC) #17
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_dbg_tests_recipe on tryserver.chromium.linux ...
6 years, 4 months ago (2014-08-22 14:55:19 UTC) #18
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-22 15:53:00 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: android_dbg_tests_recipe on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/android_dbg_tests_recipe/builds/1437)
6 years, 4 months ago (2014-08-22 15:53:01 UTC) #20
sky
The CQ bit was checked by sky@chromium.org
6 years, 4 months ago (2014-08-22 16:17:55 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sky@chromium.org/480293004/60001
6 years, 4 months ago (2014-08-22 16:18:12 UTC) #22
commit-bot: I haz the power
6 years, 4 months ago (2014-08-22 17:11:58 UTC) #23
Message was sent while issue was closed.
Committed patchset #4 (60001) as 291436

Powered by Google App Engine
This is Rietveld 408576698