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

Issue 2010713003: Only call CanonicalizeUrl once from UrlToFullHashes (Closed)

Created:
4 years, 7 months ago by Joe Mason
Modified:
4 years, 7 months ago
Reviewers:
Nathan Parker
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Only call CanonicalizeUrl once from UrlToFullHashes BUG=606022 Committed: https://crrev.com/e625cb78079a7c15a944cff3fe89b28a3779b697 Cr-Commit-Position: refs/heads/master@{#396035}

Patch Set 1 #

Total comments: 3

Patch Set 2 : Rename GenerateHostEtc #

Unified diffs Side-by-side diffs Delta from patch set Stats (+79 lines, -61 lines) Patch
M components/safe_browsing_db/util.cc View 1 4 chunks +79 lines, -61 lines 0 comments Download

Messages

Total messages: 15 (5 generated)
Joe Mason
PTAL https://codereview.chromium.org/2010713003/diff/1/components/safe_browsing_db/util.cc File components/safe_browsing_db/util.cc (left): https://codereview.chromium.org/2010713003/diff/1/components/safe_browsing_db/util.cc#oldcode353 components/safe_browsing_db/util.cc:353: const std::string host = canon_host; // const sidesteps ...
4 years, 7 months ago (2016-05-25 15:44:44 UTC) #2
Nathan Parker
This seems reasonable, but do you know how much time this saves? I'd rather not ...
4 years, 7 months ago (2016-05-25 17:23:35 UTC) #3
Joe Mason
On 2016/05/25 17:23:35, Nathan Parker wrote: > This seems reasonable, but do you know how ...
4 years, 7 months ago (2016-05-25 17:59:16 UTC) #4
Joe Mason
https://codereview.chromium.org/2010713003/diff/1/components/safe_browsing_db/util.cc File components/safe_browsing_db/util.cc (right): https://codereview.chromium.org/2010713003/diff/1/components/safe_browsing_db/util.cc#newcode32 components/safe_browsing_db/util.cc:32: void GenerateHostsToCheck(const std::string& host, On 2016/05/25 17:23:35, Nathan Parker ...
4 years, 7 months ago (2016-05-25 18:06:21 UTC) #5
Nathan Parker
lgtm 5-7ms per page load seems worthwhile, though that's CPU, not wallclock time. It's probably ...
4 years, 7 months ago (2016-05-25 19:43:21 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2010713003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2010713003/20001
4 years, 7 months ago (2016-05-25 20:14:10 UTC) #8
commit-bot: I haz the power
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/176071)
4 years, 7 months ago (2016-05-25 20:30:38 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2010713003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2010713003/20001
4 years, 7 months ago (2016-05-25 21:42:22 UTC) #12
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 7 months ago (2016-05-25 23:26:54 UTC) #13
commit-bot: I haz the power
4 years, 7 months ago (2016-05-25 23:28:21 UTC) #15
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/e625cb78079a7c15a944cff3fe89b28a3779b697
Cr-Commit-Position: refs/heads/master@{#396035}

Powered by Google App Engine
This is Rietveld 408576698