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

Issue 2687583002: Add support for single sample metrics. (Closed)

Created:
3 years, 10 months ago by DaleCurtis
Modified:
3 years, 7 months ago
CC:
apacible+watch_chromium.org, asvitkine+watch_chromium.org, bcwhite, chromium-reviews, erickung+watch_chromium.org, feature-media-reviews_chromium.org, miu+watch_chromium.org, vmpstr+watch_chromium.org, xjz+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Add support for single sample metrics. Single sample metrics offer a mechanism for clients to modify a histogram sample repeatedly while having it only reported once; either upon destruction of a helper class or at process termination. This is helpful since the fast shutdown path simply kills renderer processes without going through any destructors. In this case we lose histogram values that might otherwise be reported at that time. In media/ code we've created a cumbersome proxy mechanism which sends histogram values like this to the browser process and records them there (see WatchTimeReporter and MediaInternals interactions). Single sample histograms are implemented through a new mojo service hosted by the browser process that receives samples and logs the last received sample upon mojo channel closure. base:: shims are provided so that these metrics can be created by anyone in the renderer process. For non-renderer processes a default implementation is provided without the mojo channel behavior. Usage looks like the following: std::unique_ptr<base::SingleSampleMetric> metric( base::SingleSampleMetricsFactory::Get()->CreateCustomCountsMetric( "Media.VideoRenderer.CadenceChanges", 1, 10, 10)); metric->SetSample(1); metric->SetSample(2); metric->SetSample(3); metric.reset(); Only the last sample (3) would end up being reported to the histogram. BUG=689751 TEST=new tests Review-Url: https://codereview.chromium.org/2687583002 Cr-Commit-Position: refs/heads/master@{#469524} Committed: https://chromium.googlesource.com/chromium/src/+/4a9839a21d7fd95641ba584396bf328fbc1a96b0

Patch Set 1 #

Patch Set 2 : Add mojo approach. #

Total comments: 13

Patch Set 3 : Redesign! #

Total comments: 4

Patch Set 4 : Use thread local storage. #

Total comments: 6

Patch Set 5 : Rename all teh things. Simplify! #

Patch Set 6 : Add tests. #

Total comments: 18

Patch Set 7 : Fix ios hopefully; address comments. #

Total comments: 28

Patch Set 8 : Really fix ios; more comments addressed. #

Patch Set 9 : Resolve comments, fix template errors, simplify tests. #

Patch Set 10 : Fix linker errors. #

Total comments: 4

Patch Set 11 : Fix linker error attempt #2. #

Patch Set 12 : Address comments, linker fix #3. #

Total comments: 2

Patch Set 13 : Fix comment per review suggestion. #

Patch Set 14 : Fix nullptr potential. #

Total comments: 4

Patch Set 15 : Address comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+870 lines, -0 lines) Patch
M base/BUILD.gn View 1 2 3 4 5 2 chunks +3 lines, -0 lines 0 comments Download
A base/metrics/single_sample_metrics.h View 1 2 3 4 5 6 7 1 chunk +104 lines, -0 lines 0 comments Download
A base/metrics/single_sample_metrics.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +77 lines, -0 lines 0 comments Download
A base/metrics/single_sample_metrics_unittest.cc View 1 2 3 4 5 6 7 1 chunk +121 lines, -0 lines 0 comments Download
M components/metrics/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +20 lines, -0 lines 0 comments Download
M components/metrics/public/interfaces/BUILD.gn View 1 2 3 4 1 chunk +6 lines, -0 lines 0 comments Download
A components/metrics/public/interfaces/single_sample_metrics.mojom View 1 2 3 4 5 6 7 1 chunk +24 lines, -0 lines 0 comments Download
A components/metrics/single_sample_metrics.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +43 lines, -0 lines 0 comments Download
A components/metrics/single_sample_metrics.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +86 lines, -0 lines 0 comments Download
A components/metrics/single_sample_metrics_factory_impl.h View 1 2 3 4 5 6 7 8 1 chunk +71 lines, -0 lines 0 comments Download
A components/metrics/single_sample_metrics_factory_impl.cc View 1 2 3 4 5 6 7 1 chunk +90 lines, -0 lines 0 comments Download
A components/metrics/single_sample_metrics_factory_impl_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +183 lines, -0 lines 0 comments Download
M components/test/BUILD.gn View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M components/test/DEPS View 1 2 3 4 5 6 7 1 chunk +6 lines, -0 lines 0 comments Download
M components/test/components_test_suite.cc View 1 2 3 4 5 6 7 2 chunks +3 lines, -0 lines 0 comments Download
M content/browser/BUILD.gn View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/DEPS View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/renderer_host/render_process_host_impl.cc View 1 2 3 4 5 6 7 8 2 chunks +4 lines, -0 lines 0 comments Download
M content/public/app/mojo/content_browser_manifest.json View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M content/renderer/BUILD.gn View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M content/renderer/DEPS View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M content/renderer/render_thread_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 3 chunks +23 lines, -0 lines 0 comments Download

Messages

Total messages: 117 (41 generated)
DaleCurtis
This is the (very) rough draft based on chat discussion with asvitkine@. I'm not versed ...
3 years, 10 months ago (2017-02-08 00:58:05 UTC) #3
bcwhite
> Roughly it seems like we want a mechanism for indicating that a given histogram ...
3 years, 10 months ago (2017-02-08 13:55:17 UTC) #4
DaleCurtis
On 2017/02/08 at 13:55:17, bcwhite wrote: > The upshot is that clearing that flag anywhere ...
3 years, 10 months ago (2017-02-08 19:32:29 UTC) #5
bcwhite
> > The upshot is that clearing that flag anywhere but in the Browser's (merged) ...
3 years, 10 months ago (2017-02-08 20:47:51 UTC) #6
Alexei Svitkine (slow)
I don't think AtExit handlers would be run at all in the renderer processes. There ...
3 years, 10 months ago (2017-02-08 20:51:59 UTC) #7
bcwhite
> I don't think AtExit handlers would be run at all in the renderer > ...
3 years, 10 months ago (2017-02-08 21:15:40 UTC) #8
DaleCurtis
I proposed this during chat with asvitkine@ and it's sounding better and better, WDYT: - ...
3 years, 10 months ago (2017-02-08 21:46:25 UTC) #9
bcwhite
> I proposed this during chat with asvitkine@ and it's sounding better and better, > ...
3 years, 10 months ago (2017-02-09 00:05:41 UTC) #10
DaleCurtis
Latest patch set shows what a mojo approach might look like. From here we'd add ...
3 years, 10 months ago (2017-02-17 23:36:34 UTC) #11
bcwhite
https://codereview.chromium.org/2687583002/diff/20001/content/browser/renderer_host/one_shot_metric_host.h File content/browser/renderer_host/one_shot_metric_host.h (right): https://codereview.chromium.org/2687583002/diff/20001/content/browser/renderer_host/one_shot_metric_host.h#newcode17 content/browser/renderer_host/one_shot_metric_host.h:17: static void Create(mojom::OneShotMetricHostRequest request); Pass by const-ref. https://codereview.chromium.org/2687583002/diff/20001/content/browser/renderer_host/one_shot_metric_host.h#newcode36 content/browser/renderer_host/one_shot_metric_host.h:36: ...
3 years, 10 months ago (2017-02-21 12:37:55 UTC) #12
DaleCurtis
Any high level feedback? Will rope in the mojo, content experts if this doesn't seem ...
3 years, 10 months ago (2017-02-21 17:54:29 UTC) #13
DaleCurtis
https://codereview.chromium.org/2687583002/diff/20001/content/browser/renderer_host/one_shot_metric_host.h File content/browser/renderer_host/one_shot_metric_host.h (right): https://codereview.chromium.org/2687583002/diff/20001/content/browser/renderer_host/one_shot_metric_host.h#newcode36 content/browser/renderer_host/one_shot_metric_host.h:36: std::unique_ptr<Metric> metric_; On 2017/02/21 at 12:37:54, bcwhite wrote: > ...
3 years, 10 months ago (2017-02-21 17:55:03 UTC) #14
bcwhite
At a high level... I don't know enough about Mojo to evaluate it. https://codereview.chromium.org/2687583002/diff/20001/content/browser/renderer_host/one_shot_metric_host.h File ...
3 years, 10 months ago (2017-02-21 19:06:02 UTC) #15
DaleCurtis
Okay, +rockot for mojo commentary then. rockot: What do you think about using mojo for ...
3 years, 10 months ago (2017-02-21 20:08:52 UTC) #17
Ken Rockot(use gerrit already)
On 2017/02/21 at 20:08:52, dalecurtis wrote: > Okay, +rockot for mojo commentary then. rockot: What ...
3 years, 10 months ago (2017-02-21 20:26:47 UTC) #18
Ken Rockot(use gerrit already)
and +oysteine in case he has any thoughts re my comment on resource_coordinator in the ...
3 years, 10 months ago (2017-02-21 20:27:15 UTC) #20
oystein (OOO til 10th of July)
On 2017/02/21 at 20:27:15, rockot wrote: > and +oysteine in case he has any thoughts ...
3 years, 10 months ago (2017-02-21 21:36:18 UTC) #21
DaleCurtis
On 2017/02/21 at 21:36:18, oysteine wrote: > On 2017/02/21 at 20:27:15, rockot wrote: > > ...
3 years, 10 months ago (2017-02-21 21:40:34 UTC) #22
Alexei Svitkine (slow)
Generally seems reasonable. Some comments below. https://codereview.chromium.org/2687583002/diff/20001/content/browser/renderer_host/one_shot_metric_host.h File content/browser/renderer_host/one_shot_metric_host.h (right): https://codereview.chromium.org/2687583002/diff/20001/content/browser/renderer_host/one_shot_metric_host.h#newcode15 content/browser/renderer_host/one_shot_metric_host.h:15: class CONTENT_EXPORT OneShotMetricHost ...
3 years, 10 months ago (2017-02-22 22:13:18 UTC) #23
DaleCurtis
Thanks for the feedback. Summing up: - Rename to SingleValueHistogram (unless someone prefers SingleSampleHistogram). - ...
3 years, 10 months ago (2017-02-22 22:41:13 UTC) #24
bcwhite
https://codereview.chromium.org/2687583002/diff/20001/content/browser/renderer_host/one_shot_metric_host.h File content/browser/renderer_host/one_shot_metric_host.h (right): https://codereview.chromium.org/2687583002/diff/20001/content/browser/renderer_host/one_shot_metric_host.h#newcode17 content/browser/renderer_host/one_shot_metric_host.h:17: static void Create(mojom::OneShotMetricHostRequest request); On 2017/02/22 22:41:12, DaleCurtis wrote: ...
3 years, 10 months ago (2017-02-23 12:13:02 UTC) #25
DaleCurtis
Okay, this is ready for another design review pass. Sorry for delay, manager perf O_o. ...
3 years, 8 months ago (2017-04-20 23:27:28 UTC) #27
Ken Rockot(use gerrit already)
https://codereview.chromium.org/2687583002/diff/40001/components/metrics/single_value_histograms_factory_impl.cc File components/metrics/single_value_histograms_factory_impl.cc (right): https://codereview.chromium.org/2687583002/diff/40001/components/metrics/single_value_histograms_factory_impl.cc#newcode38 components/metrics/single_value_histograms_factory_impl.cc:38: // safe to access from any thread since it ...
3 years, 8 months ago (2017-04-21 17:40:56 UTC) #28
DaleCurtis
https://codereview.chromium.org/2687583002/diff/40001/components/metrics/single_value_histograms_factory_impl.cc File components/metrics/single_value_histograms_factory_impl.cc (right): https://codereview.chromium.org/2687583002/diff/40001/components/metrics/single_value_histograms_factory_impl.cc#newcode38 components/metrics/single_value_histograms_factory_impl.cc:38: // safe to access from any thread since it ...
3 years, 8 months ago (2017-04-21 17:44:33 UTC) #29
Ken Rockot(use gerrit already)
https://codereview.chromium.org/2687583002/diff/40001/components/metrics/single_value_histograms_factory_impl.cc File components/metrics/single_value_histograms_factory_impl.cc (right): https://codereview.chromium.org/2687583002/diff/40001/components/metrics/single_value_histograms_factory_impl.cc#newcode38 components/metrics/single_value_histograms_factory_impl.cc:38: // safe to access from any thread since it ...
3 years, 8 months ago (2017-04-21 18:03:27 UTC) #30
DaleCurtis
https://codereview.chromium.org/2687583002/diff/40001/components/metrics/single_value_histograms_factory_impl.cc File components/metrics/single_value_histograms_factory_impl.cc (right): https://codereview.chromium.org/2687583002/diff/40001/components/metrics/single_value_histograms_factory_impl.cc#newcode38 components/metrics/single_value_histograms_factory_impl.cc:38: // safe to access from any thread since it ...
3 years, 8 months ago (2017-04-21 18:18:35 UTC) #31
Ken Rockot(use gerrit already)
Whenever any thread wants to use the interface, it graps the TLS InterfacePtr. If said ...
3 years, 8 months ago (2017-04-21 18:29:35 UTC) #32
DaleCurtis
On 2017/04/21 at 18:29:35, rockot wrote: > Whenever any thread wants to use the interface, ...
3 years, 8 months ago (2017-04-21 18:53:21 UTC) #33
Ken Rockot(use gerrit already)
Err, no you don't need to do that. You should still maintain a TaskRunner from ...
3 years, 8 months ago (2017-04-21 19:10:16 UTC) #34
Ken Rockot(use gerrit already)
Oops. That should be: task_runner->PostTask( FROM_HERE, base::BindOnce(&BindFooOnCorrectThread, connector, mojo::MakeRequest(&foo))); On Fri, Apr 21, 2017 at ...
3 years, 8 months ago (2017-04-21 19:19:39 UTC) #35
DaleCurtis
On 2017/04/21 at 19:10:16, rockot wrote: > Err, no you don't need to do that. ...
3 years, 8 months ago (2017-04-21 19:20:22 UTC) #36
DaleCurtis
Okay latest patch set incorporates rockot@'s feedback; before I get started on tests and such, ...
3 years, 8 months ago (2017-04-24 23:48:53 UTC) #38
Alexei Svitkine (slow)
https://codereview.chromium.org/2687583002/diff/80001/base/metrics/single_value_histograms.cc File base/metrics/single_value_histograms.cc (right): https://codereview.chromium.org/2687583002/diff/80001/base/metrics/single_value_histograms.cc#newcode12 base/metrics/single_value_histograms.cc:12: // we'd need all run_all_unittests.cc to set this up, ...
3 years, 8 months ago (2017-04-26 18:12:53 UTC) #40
DaleCurtis
Okay, still missing tests, but the latest patch set addresses discussions with nick@ and asvitkine@ ...
3 years, 7 months ago (2017-04-29 00:30:35 UTC) #42
DaleCurtis
Okay this is ready for full review now. All discussions addressed and tests added. +dcheng ...
3 years, 7 months ago (2017-05-03 00:59:34 UTC) #56
DaleCurtis
rockot@ looks like mojo doesn't work on iOS; is that expected? Assertion failed: (g_thunks.CreateMessagePipe), function ...
3 years, 7 months ago (2017-05-03 19:40:30 UTC) #59
Ken Rockot(use gerrit already)
On 2017/05/03 at 19:40:30, dalecurtis wrote: > rockot@ looks like mojo doesn't work on iOS; ...
3 years, 7 months ago (2017-05-03 19:50:28 UTC) #60
DaleCurtis
On 2017/05/03 at 19:50:28, rockot wrote: > On 2017/05/03 at 19:40:30, dalecurtis wrote: > > ...
3 years, 7 months ago (2017-05-03 19:52:37 UTC) #61
Ken Rockot(use gerrit already)
It's not a dependency issue. It's an issue with mojo::edk::Init() not having been called in ...
3 years, 7 months ago (2017-05-03 19:54:56 UTC) #62
Ken Rockot(use gerrit already)
See for example https://cs.chromium.org/chromium/src/url/run_all_unittests.cc At one point we didn't support Mojo on iOS which is ...
3 years, 7 months ago (2017-05-03 19:56:37 UTC) #63
DaleCurtis
On 2017/05/03 at 19:56:37, rockot wrote: > See for example > https://cs.chromium.org/chromium/src/url/run_all_unittests.cc > > At ...
3 years, 7 months ago (2017-05-03 19:57:51 UTC) #64
Alexei Svitkine (slow)
https://codereview.chromium.org/2687583002/diff/160001/base/metrics/single_sample_metrics.h File base/metrics/single_sample_metrics.h (right): https://codereview.chromium.org/2687583002/diff/160001/base/metrics/single_sample_metrics.h#newcode33 base/metrics/single_sample_metrics.h:33: // |name| is the name of the histogram. See ...
3 years, 7 months ago (2017-05-03 19:59:46 UTC) #65
DaleCurtis
iOS hopefully fixed, +blundell for components/test changes to make iOS happy. https://codereview.chromium.org/2687583002/diff/160001/base/metrics/single_sample_metrics.h File base/metrics/single_sample_metrics.h (right): ...
3 years, 7 months ago (2017-05-03 20:54:48 UTC) #67
Alexei Svitkine (slow)
https://codereview.chromium.org/2687583002/diff/180001/base/metrics/single_sample_metrics.h File base/metrics/single_sample_metrics.h (right): https://codereview.chromium.org/2687583002/diff/180001/base/metrics/single_sample_metrics.h#newcode43 base/metrics/single_sample_metrics.h:43: static void SetFactory(SingleSampleMetricsFactory* factory); Pass by unique_ptr to indicate ...
3 years, 7 months ago (2017-05-03 21:18:48 UTC) #68
DaleCurtis
Most comments addressed, need more information on some asvitkine@. https://codereview.chromium.org/2687583002/diff/180001/base/metrics/single_sample_metrics.h File base/metrics/single_sample_metrics.h (right): https://codereview.chromium.org/2687583002/diff/180001/base/metrics/single_sample_metrics.h#newcode43 base/metrics/single_sample_metrics.h:43: ...
3 years, 7 months ago (2017-05-03 21:37:52 UTC) #69
Alexei Svitkine (slow)
Thanks! https://codereview.chromium.org/2687583002/diff/180001/components/metrics/BUILD.gn File components/metrics/BUILD.gn (right): https://codereview.chromium.org/2687583002/diff/180001/components/metrics/BUILD.gn#newcode258 components/metrics/BUILD.gn:258: "single_sample_metrics_provider.cc", On 2017/05/03 21:37:51, DaleCurtis_OOO_May_5_To_May23 wrote: > On ...
3 years, 7 months ago (2017-05-03 21:45:08 UTC) #70
DaleCurtis
https://codereview.chromium.org/2687583002/diff/180001/components/metrics/BUILD.gn File components/metrics/BUILD.gn (right): https://codereview.chromium.org/2687583002/diff/180001/components/metrics/BUILD.gn#newcode258 components/metrics/BUILD.gn:258: "single_sample_metrics_provider.cc", On 2017/05/03 at 21:45:08, Alexei Svitkine (slow) wrote: ...
3 years, 7 months ago (2017-05-04 02:29:00 UTC) #71
DaleCurtis
https://codereview.chromium.org/2687583002/diff/180001/components/metrics/BUILD.gn File components/metrics/BUILD.gn (right): https://codereview.chromium.org/2687583002/diff/180001/components/metrics/BUILD.gn#newcode258 components/metrics/BUILD.gn:258: "single_sample_metrics_provider.cc", On 2017/05/04 at 02:28:59, DaleCurtis_OOO_May_5_To_May23 wrote: > On ...
3 years, 7 months ago (2017-05-04 03:09:25 UTC) #76
Alexei Svitkine (slow)
https://codereview.chromium.org/2687583002/diff/180001/components/metrics/single_sample_metrics_factory_impl.h File components/metrics/single_sample_metrics_factory_impl.h (right): https://codereview.chromium.org/2687583002/diff/180001/components/metrics/single_sample_metrics_factory_impl.h#newcode31 components/metrics/single_sample_metrics_factory_impl.h:31: explicit SingleSampleMetricsFactoryImpl(CreateProviderCB create_provider_cb); On 2017/05/04 02:28:59, DaleCurtis_OOO_May_5_To_May23 wrote: > ...
3 years, 7 months ago (2017-05-04 14:15:09 UTC) #78
blundell
//components/test lgtm
3 years, 7 months ago (2017-05-04 14:58:18 UTC) #79
DaleCurtis
Okay I think all is resolved now. PTAL, thanks! (FYI, asvitkine@ I'm OOO starting tomorrow ...
3 years, 7 months ago (2017-05-04 18:55:27 UTC) #82
Alexei Svitkine (slow)
LGTM - thanks! https://codereview.chromium.org/2687583002/diff/260001/components/metrics/single_sample_metrics.cc File components/metrics/single_sample_metrics.cc (right): https://codereview.chromium.org/2687583002/diff/260001/components/metrics/single_sample_metrics.cc#newcode78 components/metrics/single_sample_metrics.cc:78: const service_manager::BindSourceInfo& /* source_info */, Nit: ...
3 years, 7 months ago (2017-05-04 19:03:22 UTC) #84
DaleCurtis
https://codereview.chromium.org/2687583002/diff/260001/components/metrics/single_sample_metrics.cc File components/metrics/single_sample_metrics.cc (right): https://codereview.chromium.org/2687583002/diff/260001/components/metrics/single_sample_metrics.cc#newcode78 components/metrics/single_sample_metrics.cc:78: const service_manager::BindSourceInfo& /* source_info */, On 2017/05/04 at 19:03:21, ...
3 years, 7 months ago (2017-05-04 19:08:50 UTC) #85
Alexei Svitkine (slow)
https://codereview.chromium.org/2687583002/diff/260001/components/metrics/single_sample_metrics.cc File components/metrics/single_sample_metrics.cc (right): https://codereview.chromium.org/2687583002/diff/260001/components/metrics/single_sample_metrics.cc#newcode78 components/metrics/single_sample_metrics.cc:78: const service_manager::BindSourceInfo& /* source_info */, On 2017/05/04 19:08:50, DaleCurtis_OOO_May_5_To_May23 ...
3 years, 7 months ago (2017-05-04 19:14:20 UTC) #86
DaleCurtis
dcheng@, nick@ PTAL, thanks! https://codereview.chromium.org/2687583002/diff/260001/components/metrics/single_sample_metrics.cc File components/metrics/single_sample_metrics.cc (right): https://codereview.chromium.org/2687583002/diff/260001/components/metrics/single_sample_metrics.cc#newcode78 components/metrics/single_sample_metrics.cc:78: const service_manager::BindSourceInfo& /* source_info */, ...
3 years, 7 months ago (2017-05-04 21:03:39 UTC) #87
ncarter (slow)
https://codereview.chromium.org/2687583002/diff/300001/content/renderer/render_thread_impl.cc File content/renderer/render_thread_impl.cc (right): https://codereview.chromium.org/2687583002/diff/300001/content/renderer/render_thread_impl.cc#newcode398 content/renderer/render_thread_impl.cc:398: // Necessary since BindInterface() is a template and can't ...
3 years, 7 months ago (2017-05-04 21:26:14 UTC) #90
ncarter (slow)
lgtm modulo the previous comment about comments
3 years, 7 months ago (2017-05-04 21:26:44 UTC) #91
DaleCurtis
https://codereview.chromium.org/2687583002/diff/300001/content/renderer/render_thread_impl.cc File content/renderer/render_thread_impl.cc (right): https://codereview.chromium.org/2687583002/diff/300001/content/renderer/render_thread_impl.cc#newcode398 content/renderer/render_thread_impl.cc:398: // Necessary since BindInterface() is a template and can't ...
3 years, 7 months ago (2017-05-04 21:31:08 UTC) #92
dcheng
base and mojom LGTM to unblock things That being said, it feels like this has ...
3 years, 7 months ago (2017-05-04 22:18:51 UTC) #93
DaleCurtis
Thanks for review everyone! dcheng@, I believe this points to the persistent histogram design docs: ...
3 years, 7 months ago (2017-05-04 22:25:05 UTC) #95
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/2687583002/360001
3 years, 7 months ago (2017-05-04 22:25:53 UTC) #97
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/427861)
3 years, 7 months ago (2017-05-04 22:39:15 UTC) #99
DaleCurtis
rockot@ can you approve for mojo/edk DEP in component/test
3 years, 7 months ago (2017-05-04 22:40:29 UTC) #100
Ken Rockot(use gerrit already)
lgtm
3 years, 7 months ago (2017-05-04 22:41:48 UTC) #101
DaleCurtis
Thanks!
3 years, 7 months ago (2017-05-04 22:42:00 UTC) #103
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/2687583002/360001
3 years, 7 months ago (2017-05-04 22:42:34 UTC) #104
commit-bot: I haz the power
Committed patchset #15 (id:360001) as https://chromium.googlesource.com/chromium/src/+/4a9839a21d7fd95641ba584396bf328fbc1a96b0
3 years, 7 months ago (2017-05-04 23:41:05 UTC) #107
xunjieli
This CL drastically increased Cronet binary size (~40% increase for our debug build). Cronet depends ...
3 years, 7 months ago (2017-05-05 00:33:41 UTC) #108
dcheng
On 2017/05/05 00:34:15, xunjieli wrote: > Description was changed from > > ========== > Add ...
3 years, 7 months ago (2017-05-05 04:57:53 UTC) #110
lijeffrey1
On 2017/05/05 04:57:53, dcheng wrote: > On 2017/05/05 00:34:15, xunjieli wrote: > > Description was ...
3 years, 7 months ago (2017-05-05 18:13:57 UTC) #111
dcheng
On 2017/05/05 18:13:57, lijeffrey1 wrote: > On 2017/05/05 04:57:53, dcheng wrote: > > On 2017/05/05 ...
3 years, 7 months ago (2017-05-05 18:18:18 UTC) #112
Alexei Svitkine (slow)
I don't think anything is blocked on this CL, so reverting seems reasonable. On Fri, ...
3 years, 7 months ago (2017-05-05 18:22:02 UTC) #113
xunjieli
> > dalecurtis is OOO. Are there features that are blocked on this CL? If ...
3 years, 7 months ago (2017-05-05 19:02:37 UTC) #114
Alexei Svitkine (slow)
On 2017/05/05 19:02:37, xunjieli wrote: > > > dalecurtis is OOO. Are there features that ...
3 years, 7 months ago (2017-05-05 19:23:54 UTC) #115
Alexei Svitkine (slow)
A revert of this CL (patchset #15 id:360001) has been created in https://codereview.chromium.org/2862333002/ by asvitkine@chromium.org. ...
3 years, 7 months ago (2017-05-05 19:24:42 UTC) #116
DaleCurtis
3 years, 7 months ago (2017-05-16 22:59:28 UTC) #117
Message was sent while issue was closed.
On 2017/05/05 at 19:24:42, asvitkine wrote:
> A revert of this CL (patchset #15 id:360001) has been created in
https://codereview.chromium.org/2862333002/ by asvitkine@chromium.org.
> 
> The reason for reverting is: Flaky
SingleSampleMetricsFactoryImplTest.MultithreadedMetrics test and cronet size
regression..

Sorry about the trouble here. Will take a look at the flaky case today.

dcheng@ I think using shmem would be more efficient, but doing this in the
context of the existing metrics harness is non-trivial, see the earliest
messages on this thread for discussion around this. If the opinion of the
metrics folk has changed since then or they've had a eureka moment, happy to
reconsider. Since these will be rarely used, the overhead of the mojo channel is
negligible in aggregate; so I think until we start seeing more than a handful of
these metrics trying to fit this into the shmem path is premature. I'll be in
Kirkland tomorrow if you'd like to chat more.

Powered by Google App Engine
This is Rietveld 408576698