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

Issue 2155783002: Batch pageload metrics pingbacks (Closed)

Created:
4 years, 5 months ago by RyanSturm
Modified:
4 years, 5 months ago
CC:
chromium-reviews, asvitkine+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Batch pageload metrics pingbacks Currently, each page load through data_reduction_proxy will create a pingback, and sends those pingbacks one at a time. The proto has infrastructure to batch those page load metrics that will reduce the request overhead for cases that are slow to send the pingback, but have multiple page load metrics trying to be reported around the same time. BUG=628721 Committed: https://crrev.com/6d456bbb39361b2031da5bda446f1418dfd14cfe Cr-Commit-Position: refs/heads/master@{#406142}

Patch Set 1 #

Total comments: 18

Patch Set 2 : tbansal comments #

Total comments: 1

Patch Set 3 : tbansal comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+101 lines, -54 lines) Patch
M components/data_reduction_proxy/core/browser/data_reduction_proxy_pingback_client.h View 1 2 chunks +6 lines, -8 lines 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_pingback_client.cc View 1 2 3 chunks +28 lines, -40 lines 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_pingback_client_unittest.cc View 1 2 chunks +62 lines, -2 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 1 chunk +5 lines, -4 lines 0 comments Download

Messages

Total messages: 26 (16 generated)
RyanSturm
tbansal: PTAL
4 years, 5 months ago (2016-07-15 20:20:26 UTC) #3
tbansal1
nits.. https://codereview.chromium.org/2155783002/diff/1/components/data_reduction_proxy/core/browser/data_reduction_proxy_pingback_client.cc File components/data_reduction_proxy/core/browser/data_reduction_proxy_pingback_client.cc (right): https://codereview.chromium.org/2155783002/diff/1/components/data_reduction_proxy/core/browser/data_reduction_proxy_pingback_client.cc#newcode120 components/data_reduction_proxy/core/browser/data_reduction_proxy_pingback_client.cc:120: DCHECK_EQ(data_to_send_->pageloads_size(), 1); Expect field should come first. So, ...
4 years, 5 months ago (2016-07-18 17:42:00 UTC) #7
RyanSturm
https://codereview.chromium.org/2155783002/diff/1/components/data_reduction_proxy/core/browser/data_reduction_proxy_pingback_client.cc File components/data_reduction_proxy/core/browser/data_reduction_proxy_pingback_client.cc (right): https://codereview.chromium.org/2155783002/diff/1/components/data_reduction_proxy/core/browser/data_reduction_proxy_pingback_client.cc#newcode120 components/data_reduction_proxy/core/browser/data_reduction_proxy_pingback_client.cc:120: DCHECK_EQ(data_to_send_->pageloads_size(), 1); On 2016/07/18 17:42:00, tbansal1 wrote: > Expect ...
4 years, 5 months ago (2016-07-18 18:29:39 UTC) #10
RyanSturm
tbansal: PTAL
4 years, 5 months ago (2016-07-18 20:34:54 UTC) #13
tbansal1
lgtm % nit below. https://codereview.chromium.org/2155783002/diff/20001/components/data_reduction_proxy/core/browser/data_reduction_proxy_pingback_client.cc File components/data_reduction_proxy/core/browser/data_reduction_proxy_pingback_client.cc (right): https://codereview.chromium.org/2155783002/diff/20001/components/data_reduction_proxy/core/browser/data_reduction_proxy_pingback_client.cc#newcode121 components/data_reduction_proxy/core/browser/data_reduction_proxy_pingback_client.cc:121: void DataReductionProxyPingbackClient::CreateFetcherForDataAndStart() { DCHECK current_fetcher_ ...
4 years, 5 months ago (2016-07-18 20:41:19 UTC) #14
RyanSturm
asvitkine: PTAL @ histograms.xml, thanks
4 years, 5 months ago (2016-07-18 20:46:59 UTC) #16
Alexei Svitkine (slow)
lgtm
4 years, 5 months ago (2016-07-18 20:48:05 UTC) #18
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/2155783002/40001
4 years, 5 months ago (2016-07-18 20:49:29 UTC) #23
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 5 months ago (2016-07-18 23:41:43 UTC) #24
commit-bot: I haz the power
4 years, 5 months ago (2016-07-18 23:43:17 UTC) #26
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/6d456bbb39361b2031da5bda446f1418dfd14cfe
Cr-Commit-Position: refs/heads/master@{#406142}

Powered by Google App Engine
This is Rietveld 408576698