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

Issue 1096383006: [Bluetooth, Performance] Cache the Bluetooth adapter name on Mac. (Closed)

Created:
5 years, 8 months ago by Ilya Sherman
Modified:
5 years, 7 months ago
Reviewers:
scheib, erikchen, armansito
CC:
chromium-reviews, Jeffrey Yasskin
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Bluetooth, Performance] Cache the Bluetooth adapter name on Mac. BUG=461181 R=erikchen@chromium.org, scheib@chromium.org Committed: https://crrev.com/35d9c4606318947a2711b760085f66d174a30b31 Cr-Commit-Position: refs/heads/master@{#327423}

Patch Set 1 #

Patch Set 2 : Whoops, remove dead code #

Patch Set 3 : Fix compile, verify performance impact #

Total comments: 2

Patch Set 4 : Also refresh name if the BT address changes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -3 lines) Patch
M device/bluetooth/bluetooth_adapter_mac.mm View 1 2 3 2 chunks +9 lines, -3 lines 0 comments Download

Messages

Total messages: 17 (3 generated)
Ilya Sherman
Note: I haven't actually tested this change, because I'm not super familiar with the requisite ...
5 years, 8 months ago (2015-04-22 01:07:05 UTC) #1
erikchen
It's not clear to me that this solution is correct, especially if you haven't been ...
5 years, 8 months ago (2015-04-22 01:29:55 UTC) #2
erikchen
Maybe we should be holding on to a reference of the defaultController? On Tue, Apr ...
5 years, 8 months ago (2015-04-22 01:30:17 UTC) #3
Ilya Sherman
I've now locally verified the results that jyasskin observed here [1], and that this patch ...
5 years, 8 months ago (2015-04-28 04:01:19 UTC) #4
Ilya Sherman
On 2015/04/28 04:01:19, Ilya Sherman wrote: > I've now locally verified the results that jyasskin ...
5 years, 8 months ago (2015-04-28 04:12:08 UTC) #5
scheib
On 2015/04/28 04:12:08, Ilya Sherman wrote: > On 2015/04/28 04:01:19, Ilya Sherman wrote: > > ...
5 years, 8 months ago (2015-04-28 04:37:54 UTC) #6
scheib
On 2015/04/28 04:37:54, scheib wrote: > On 2015/04/28 04:12:08, Ilya Sherman wrote: > > On ...
5 years, 8 months ago (2015-04-28 04:38:41 UTC) #7
erikchen
On 2015/04/28 04:38:41, scheib wrote: > On 2015/04/28 04:37:54, scheib wrote: > > On 2015/04/28 ...
5 years, 7 months ago (2015-04-28 17:50:27 UTC) #8
scheib
https://codereview.chromium.org/1096383006/diff/40001/device/bluetooth/bluetooth_adapter_mac.mm File device/bluetooth/bluetooth_adapter_mac.mm (right): https://codereview.chromium.org/1096383006/diff/40001/device/bluetooth/bluetooth_adapter_mac.mm#newcode276 device/bluetooth/bluetooth_adapter_mac.mm:276: if (name_.empty()) " || address_ != address" will at ...
5 years, 7 months ago (2015-04-28 17:55:39 UTC) #9
Ilya Sherman
+Arman for OWNERS approval. https://codereview.chromium.org/1096383006/diff/40001/device/bluetooth/bluetooth_adapter_mac.mm File device/bluetooth/bluetooth_adapter_mac.mm (right): https://codereview.chromium.org/1096383006/diff/40001/device/bluetooth/bluetooth_adapter_mac.mm#newcode276 device/bluetooth/bluetooth_adapter_mac.mm:276: if (name_.empty()) On 2015/04/28 17:55:39, ...
5 years, 7 months ago (2015-04-28 23:42:26 UTC) #11
armansito
lgtm
5 years, 7 months ago (2015-04-28 23:51:47 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1096383006/60001
5 years, 7 months ago (2015-04-29 00:00:18 UTC) #15
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 7 months ago (2015-04-29 02:35:06 UTC) #16
commit-bot: I haz the power
5 years, 7 months ago (2015-04-29 02:36:00 UTC) #17
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/35d9c4606318947a2711b760085f66d174a30b31
Cr-Commit-Position: refs/heads/master@{#327423}

Powered by Google App Engine
This is Rietveld 408576698