DescriptionOptimize phishing page term feature extraction.
We've been seeing in the histograms that for some users, page feature
extraction is taking much longer than we would like, up to 200ms between
stops. This could possibly contribute to jankiness in the UI. These are some
timings from my desktop for how long it takes to extract features before and
after these changes. Obviously this is on much better hardware than the use case
we are worried about, but hopefully the increase is speed is proportional.
Before After
CNN 19 7.5
ESPN 22 9.5
Google 12 4
Salon 40 12
BUG=
TEST=Ran associated unit tests.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=96097
Patch Set 1 #
Total comments: 2
Patch Set 2 : Remove unnecesary macros in wide_string_piece_unittest.cc #
Total comments: 1
Patch Set 3 : Fix Windows compile errors. #
Total comments: 4
Patch Set 4 : Address Brett's comments. #
Total comments: 4
Patch Set 5 : Address Brett's other comments. #Patch Set 6 : Fix naming of some variables and Windows compile error. #
Total comments: 12
Patch Set 7 : Address Brian's comments #
Messages
Total messages: 15 (0 generated)
|