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

Issue 1972503002: Add flag "distillability-dev" for distillability development

Created:
4 years, 7 months ago by wychen
Modified:
4 years, 3 months ago
Reviewers:
mdjones, esprehn
CC:
blink-reviews, blink-reviews-api_chromium.org, blink-reviews-dom_chromium.org, chromium-reviews, darin-cc_chromium.org, dglazkov+blink, eae+blinkwatch, jam, mkwst+moarreviews-renderer_chromium.org, mlamouri+watch-content_chromium.org, rwlbuis, sof
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add flag "distillability-dev" for distillability development In Distillability Dev mode, DOM distiller is available for file:// scheme, and the distillability information is dumped to the console, so that it can be accessed by the modeling scripts. This flag usually go with "--enable-dom-distiller" and "--reader-mode-heuristics=adaboost". BUG=610944

Patch Set 1 #

Patch Set 2 : fix tests #

Total comments: 8

Patch Set 3 : use json writer #

Patch Set 4 : rebase #

Patch Set 5 : move all dumping to distillability_agent #

Patch Set 6 : Merge to a single JSON #

Patch Set 7 : rebase #

Patch Set 8 : compatible naming #

Unified diffs Side-by-side diffs Delta from patch set Stats (+79 lines, -5 lines) Patch
M chrome/browser/chrome_content_browser_client.cc View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M components/dom_distiller/content/renderer/distillability_agent.cc View 1 2 3 4 5 6 7 6 chunks +60 lines, -4 lines 0 comments Download
M components/dom_distiller/core/dom_distiller_features.h View 1 chunk +3 lines, -0 lines 0 comments Download
M components/dom_distiller/core/dom_distiller_features.cc View 1 chunk +5 lines, -0 lines 0 comments Download
M components/dom_distiller/core/dom_distiller_switches.h View 1 chunk +3 lines, -0 lines 0 comments Download
M components/dom_distiller/core/dom_distiller_switches.cc View 1 chunk +1 line, -0 lines 0 comments Download
M components/dom_distiller/core/url_utils.cc View 1 2 3 4 5 6 2 chunks +6 lines, -1 line 0 comments Download

Messages

Total messages: 28 (15 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1972503002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1972503002/1
4 years, 7 months ago (2016-05-11 04:58:00 UTC) #2
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/168115) linux_chromium_rel_ng on ...
4 years, 7 months ago (2016-05-11 05:12:58 UTC) #4
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1972503002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1972503002/40001
4 years, 7 months ago (2016-05-11 05:29:23 UTC) #7
wychen
PTAL
4 years, 7 months ago (2016-05-11 06:04:40 UTC) #12
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 7 months ago (2016-05-11 06:30:19 UTC) #14
mdjones
lgtm % question https://codereview.chromium.org/1972503002/diff/40001/third_party/WebKit/Source/core/dom/DocumentStatisticsCollector.cpp File third_party/WebKit/Source/core/dom/DocumentStatisticsCollector.cpp (right): https://codereview.chromium.org/1972503002/diff/40001/third_party/WebKit/Source/core/dom/DocumentStatisticsCollector.cpp#newcode273 third_party/WebKit/Source/core/dom/DocumentStatisticsCollector.cpp:273: ConsoleMessage* consoleMessage = ConsoleMessage::create(ConsoleAPIMessageSource, DebugMessageLevel, message.toString()); ...
4 years, 7 months ago (2016-05-18 19:06:59 UTC) #16
wychen
https://codereview.chromium.org/1972503002/diff/40001/third_party/WebKit/Source/core/dom/DocumentStatisticsCollector.cpp File third_party/WebKit/Source/core/dom/DocumentStatisticsCollector.cpp (right): https://codereview.chromium.org/1972503002/diff/40001/third_party/WebKit/Source/core/dom/DocumentStatisticsCollector.cpp#newcode273 third_party/WebKit/Source/core/dom/DocumentStatisticsCollector.cpp:273: ConsoleMessage* consoleMessage = ConsoleMessage::create(ConsoleAPIMessageSource, DebugMessageLevel, message.toString()); On 2016/05/18 19:06:59, ...
4 years, 7 months ago (2016-05-18 19:19:01 UTC) #17
esprehn
https://codereview.chromium.org/1972503002/diff/40001/components/dom_distiller/content/renderer/distillability_agent.cc File components/dom_distiller/content/renderer/distillability_agent.cc (right): https://codereview.chromium.org/1972503002/diff/40001/components/dom_distiller/content/renderer/distillability_agent.cc#newcode73 components/dom_distiller/content/renderer/distillability_agent.cc:73: std::stringstream ss; this is terrible, can we get an ...
4 years, 7 months ago (2016-05-23 20:19:42 UTC) #18
wychen
https://codereview.chromium.org/1972503002/diff/40001/components/dom_distiller/content/renderer/distillability_agent.cc File components/dom_distiller/content/renderer/distillability_agent.cc (right): https://codereview.chromium.org/1972503002/diff/40001/components/dom_distiller/content/renderer/distillability_agent.cc#newcode73 components/dom_distiller/content/renderer/distillability_agent.cc:73: std::stringstream ss; On 2016/05/23 20:19:42, esprehn wrote: > this ...
4 years, 7 months ago (2016-05-23 21:40:24 UTC) #19
wychen
Friendly ping esprehn@.
4 years, 6 months ago (2016-05-27 23:51:58 UTC) #22
esprehn
What's the launch timeline for distiller? What team owns this feature long term? We don't ...
4 years, 6 months ago (2016-06-01 05:07:18 UTC) #23
wychen
On 2016/06/01 05:07:18, esprehn wrote: > What's the launch timeline for distiller? What team owns ...
4 years, 6 months ago (2016-06-01 05:18:33 UTC) #24
wychen
4 years, 6 months ago (2016-06-06 22:54:29 UTC) #25
On 2016/06/01 05:18:33, wychen wrote:
> On 2016/06/01 05:07:18, esprehn wrote:
> > What's the launch timeline for distiller? What team owns this feature long
> term?
> > We don't usually add development flags like this.
> 
> We plan to be on 1% stable this week, and 100% stable before Q3. We'd like to
> further enhance our triggering logic to improve accuracy in the following
> milestones, and having a local patch is not very ideal.
> Clank team would own this feature long term.
> 
> If consolidating all the debug messages to distillability_agent.cc makes more
> sense for long-term maintainance, we could do that as well.

It's all consolidated to distillability_agent.cc.

Powered by Google App Engine
This is Rietveld 408576698