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

Issue 14856016: Performance optimization of SubstringSetMatcher::InsertPatternIntoAhoCorasickTree (Closed)

Created:
7 years, 7 months ago by battre
Modified:
7 years, 7 months ago
Reviewers:
vabr (Chromium)
CC:
chromium-reviews, Aaron Boodman, chromium-apps-reviews_chromium.org
Visibility:
Public.

Description

Performance optimization of SubstringSetMatcher::InsertPatternIntoAhoCorasickTree BUG=112155

Patch Set 1 #

Patch Set 2 : Minor tweak #

Unified diffs Side-by-side diffs Delta from patch set Stats (+14 lines, -13 lines) Patch
M extensions/common/matcher/substring_set_matcher.cc View 1 1 chunk +14 lines, -13 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
battre
Hi Vaclav, please review this CL. thanks, Dominic
7 years, 7 months ago (2013-05-03 10:59:19 UTC) #1
vabr (Chromium)
7 years, 7 months ago (2013-05-03 11:58:04 UTC) #2
Hi Dominic,

Have you done any benchmarks for this change?
I tried it with my benchmark, and it does not seem to perform better.

I like the eliminating of the HasEdge/GetEdge pattern as a general clean-up, and
I see a couple of more spots in the substring set matcher to improve on, but I
would wait with that until there is a change with a significant performance
improvement -- if such change requires substantial rewriting, all this clean-up
can be lost.

Also, maybe we should coordinate more -- parallel editing of the same spot in
code will result in colliding patches. I'm currently spending all my coding time
on the time optimisation for substring set matcher.

Vaclav

Powered by Google App Engine
This is Rietveld 408576698