predictors: Update the database dumping tool to support Origins

Desktop / Chromium - lizeb [chromium.org] - 19 April 2017 11:17 EDT

Example output: host: fr.m.wikipedia.org last_visit_time: 2017-04-19 13:54:14 origins: origin: https://upload.wikimedia.org/ number_of_hits: 3 number_of_misses: 2 consecutive_misses: 1 average_position: 2.375000 always_access_network: False accessed_network: True

origin: https://fr.m.wikipedia.org/ number_of_hits: 5 number_of_misses: 0 consecutive_misses: 0 average_position: 1.000000 always_access_network: False accessed_network: False

BUG=699080

Review-Url: https://codereview.chromium.org/2827043002 Cr-Commit-Position: refs/heads/master@{#465611}

2a316a1 predictors: Update the database dumping tool to support Origins.
tools/resource_prefetch_predictor/README.md | 3 --
.../prefetch_predictor_tool.py | 58 ++++++++++++++++++++--
2 files changed, 53 insertions(+), 8 deletions(-)

Upstream: git.chromium.org


  • Share