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

Issue 1399853004: Collect separate V8 histograms for Top10 non-Google sites (Closed)

Created:
5 years, 2 months ago by Michael Hablich
Modified:
5 years, 1 month ago
CC:
asvitkine+watch_chromium.org, chromium-reviews, darin-cc_chromium.org, jam, mkwst+moarreviews-renderer_chromium.org, mlamouri+watch-content_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Collect separate V8 histograms for Top10 non-Google sites BUG= R=jochen@chromium.org,hpayer@chromium.org,asvitkine@chromium.org Committed: https://crrev.com/d6a4f129ef76ddd685d4d9ae6f549cc1fdb9e126 Cr-Commit-Position: refs/heads/master@{#356530}

Patch Set 1 #

Patch Set 2 : Only top10 sites #

Patch Set 3 : Master changes included #

Total comments: 2

Patch Set 4 : Added Jochen's suggestions #

Patch Set 5 : Reformatted code #

Total comments: 5

Patch Set 6 : Made requested changes #

Total comments: 2

Patch Set 7 : Added UnitTests + Reformatted code #

Total comments: 6

Patch Set 8 : Took care of nits #

Patch Set 9 : Changed UnitTests so they don't need to convert bool #

Unified diffs Side-by-side diffs Delta from patch set Stats (+82 lines, -14 lines) Patch
M content/renderer/render_thread_impl.h View 1 2 3 4 5 6 1 chunk +8 lines, -0 lines 0 comments Download
M content/renderer/render_thread_impl.cc View 1 2 3 4 5 6 7 4 chunks +58 lines, -14 lines 0 comments Download
M content/renderer/render_thread_impl_unittest.cc View 1 2 3 4 5 6 7 8 1 chunk +14 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 32 (7 generated)
Michael Hablich
PTAL
5 years, 2 months ago (2015-10-14 15:59:14 UTC) #1
Alexei Svitkine (slow)
+battre from Chrome Privacy team on whether this is OK
5 years, 2 months ago (2015-10-14 16:27:06 UTC) #3
Hannes Payer (out of office)
LGTM
5 years, 2 months ago (2015-10-14 16:30:06 UTC) #4
Michael Hablich
On 2015/10/14 16:30:06, Hannes Payer wrote: > LGTM I had some fruitful discussions with battre ...
5 years, 2 months ago (2015-10-20 13:47:37 UTC) #5
battre
lgtm
5 years, 2 months ago (2015-10-20 13:56:57 UTC) #7
battre
On 2015/10/20 13:56:57, battre wrote: > lgtm Sorry, NOT LGTM. I clicked on the wrong ...
5 years, 2 months ago (2015-10-20 13:58:05 UTC) #8
Michael Hablich
On 2015/10/20 13:58:05, battre wrote: > On 2015/10/20 13:56:57, battre wrote: > > lgtm > ...
5 years, 2 months ago (2015-10-21 10:45:31 UTC) #9
jochen (gone - plz use gerrit)
https://codereview.chromium.org/1399853004/diff/40001/content/renderer/render_thread_impl.cc File content/renderer/render_thread_impl.cc (right): https://codereview.chromium.org/1399853004/diff/40001/content/renderer/render_thread_impl.cc#newcode310 content/renderer/render_thread_impl.cc:310: (host_tokens[1] == "linkedin")) according to http://www.alexa.com/topsites linkedin is #11 ...
5 years, 2 months ago (2015-10-21 13:17:57 UTC) #10
Michael Hablich
PTAL PS#5. battre@, is the list of pages ok from a privacy point of view? ...
5 years, 2 months ago (2015-10-22 13:16:35 UTC) #11
battre
Privacy wise, this LGTM as it covers huge sites into one bucket and does not ...
5 years, 2 months ago (2015-10-22 13:20:24 UTC) #12
Alexei Svitkine (slow)
https://codereview.chromium.org/1399853004/diff/80001/content/renderer/render_thread_impl.cc File content/renderer/render_thread_impl.cc (right): https://codereview.chromium.org/1399853004/diff/80001/content/renderer/render_thread_impl.cc#newcode318 content/renderer/render_thread_impl.cc:318: return ".top10"; Can you make a helper function IsAlexaTop10Site() ...
5 years, 2 months ago (2015-10-22 16:43:06 UTC) #13
jochen (gone - plz use gerrit)
https://codereview.chromium.org/1399853004/diff/80001/content/renderer/render_thread_impl.cc File content/renderer/render_thread_impl.cc (right): https://codereview.chromium.org/1399853004/diff/80001/content/renderer/render_thread_impl.cc#newcode308 content/renderer/render_thread_impl.cc:308: if (host_tokens.size() >= 2) { why >= 2? what's ...
5 years, 1 month ago (2015-10-23 12:16:21 UTC) #14
battre
https://codereview.chromium.org/1399853004/diff/80001/content/renderer/render_thread_impl.cc File content/renderer/render_thread_impl.cc (right): https://codereview.chromium.org/1399853004/diff/80001/content/renderer/render_thread_impl.cc#newcode308 content/renderer/render_thread_impl.cc:308: if (host_tokens.size() >= 2) { On 2015/10/23 12:16:21, jochen ...
5 years, 1 month ago (2015-10-23 17:49:59 UTC) #15
Michael Hablich
Did the requested changes. I created UnitTests during development. Unfortunately I don't think it is ...
5 years, 1 month ago (2015-10-26 13:10:39 UTC) #16
jochen (gone - plz use gerrit)
https://codereview.chromium.org/1399853004/diff/100001/content/renderer/render_thread_impl.cc File content/renderer/render_thread_impl.cc (right): https://codereview.chromium.org/1399853004/diff/100001/content/renderer/render_thread_impl.cc#newcode282 content/renderer/render_thread_impl.cc:282: bool IsAlexaTop10NonGoogleSite(const std::string& host) { just make this a ...
5 years, 1 month ago (2015-10-26 15:29:33 UTC) #17
Alexei Svitkine (slow)
I think it's totally worth having a unit test, even if it means you have ...
5 years, 1 month ago (2015-10-26 15:32:15 UTC) #18
Michael Hablich
PTAL. I also took the liberty to move HostToCustomHistogramSuffix into HistogramCustomizer.
5 years, 1 month ago (2015-10-27 08:51:13 UTC) #19
jochen (gone - plz use gerrit)
lgtm
5 years, 1 month ago (2015-10-27 08:52:26 UTC) #20
Alexei Svitkine (slow)
lgtm https://codereview.chromium.org/1399853004/diff/120001/content/renderer/render_thread_impl.cc File content/renderer/render_thread_impl.cc (right): https://codereview.chromium.org/1399853004/diff/120001/content/renderer/render_thread_impl.cc#newcode506 content/renderer/render_thread_impl.cc:506: if (this->IsAlexaTop10NonGoogleSite(host)) Nit: No need for this-> https://codereview.chromium.org/1399853004/diff/120001/content/renderer/render_thread_impl.cc#newcode514 ...
5 years, 1 month ago (2015-10-27 15:20:04 UTC) #21
Michael Hablich
https://codereview.chromium.org/1399853004/diff/120001/content/renderer/render_thread_impl.cc File content/renderer/render_thread_impl.cc (right): https://codereview.chromium.org/1399853004/diff/120001/content/renderer/render_thread_impl.cc#newcode506 content/renderer/render_thread_impl.cc:506: if (this->IsAlexaTop10NonGoogleSite(host)) On 2015/10/27 15:20:04, Alexei Svitkine (slow) wrote: ...
5 years, 1 month ago (2015-10-27 15:32:41 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1399853004/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1399853004/140001
5 years, 1 month ago (2015-10-27 15:32:57 UTC) #25
commit-bot: I haz the power
Try jobs failed on following builders: android_chromium_gn_compile_rel on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/android_chromium_gn_compile_rel/builds/149720)
5 years, 1 month ago (2015-10-27 15:55:49 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1399853004/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1399853004/160001
5 years, 1 month ago (2015-10-28 10:09:18 UTC) #30
commit-bot: I haz the power
Committed patchset #9 (id:160001)
5 years, 1 month ago (2015-10-28 11:35:00 UTC) #31
commit-bot: I haz the power
5 years, 1 month ago (2015-10-28 11:36:07 UTC) #32
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/d6a4f129ef76ddd685d4d9ae6f549cc1fdb9e126
Cr-Commit-Position: refs/heads/master@{#356530}

Powered by Google App Engine
This is Rietveld 408576698