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

Issue 7066043: Cache Autofill heuristics regexes (Closed)

Created:
9 years, 6 months ago by Ilya Sherman
Modified:
9 years, 6 months ago
Reviewers:
dhollowa
CC:
chromium-reviews, GeorgeY, Ilya Sherman, dhollowa
Visibility:
Public.

Description

Cache Autofill heuristics regexes Runtime for FormStructureBrowserTest.DataDrivenHeuristics decreased from 2.4s to 1.5s In particular, the test now spends 61ms in AutofillManager::ParseForms, down from 738ms. BUG=72242 TEST=unit_tests --gtest_filter=Autofill*:FormStructure*, browser_tests --gtest_filter=Autofill*:FormStructure* Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=87710

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+114 lines, -35 lines) Patch
A chrome/browser/autofill/autofill_regexes.h View 1 chunk +20 lines, -0 lines 0 comments Download
A chrome/browser/autofill/autofill_regexes.cc View 1 chunk +84 lines, -0 lines 0 comments Download
M chrome/browser/autofill/autofill_scanner.h View 1 chunk +0 lines, -9 lines 0 comments Download
M chrome/browser/autofill/autofill_scanner.cc View 2 chunks +0 lines, -19 lines 0 comments Download
M chrome/browser/autofill/credit_card.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/autofill/form_field.cc View 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/autofill/personal_data_manager.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
Ilya Sherman
9 years, 6 months ago (2011-06-02 04:41:00 UTC) #1
dhollowa
9 years, 6 months ago (2011-06-02 15:52:22 UTC) #2
LGTM.  Expect this to need a Valgrind suppression however.

Powered by Google App Engine
This is Rietveld 408576698