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

Issue 2293233002: owners.py: partial fix for owners-check perf regression (Closed)

Created:
4 years, 3 months ago by ncarter (slow)
Modified:
4 years, 3 months ago
Reviewers:
dtu, Dirk Pranke, dpranke
CC:
chromium-reviews, dpranke+depot_tools_chromium.org, iannucci+depot_tools_chromium.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

owners.py: partial fix for owners-check perf regression fnmatch.fnmatch seems to fall off a performance cliff once you start cycling through more patterns than can fit in its internal cache. BUG=642793 Committed: https://chromium.googlesource.com/chromium/tools/depot_tools/+/7e16cf303221bbcf81d632924e19ddc888da9c3b

Patch Set 1 #

Total comments: 2

Patch Set 2 : Ready for upload. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -2 lines) Patch
M owners.py View 1 3 chunks +13 lines, -2 lines 0 comments Download

Messages

Total messages: 20 (11 generated)
ncarter (slow)
This is still experimental, and i don't fully understand how owners.py works, just hoping to ...
4 years, 3 months ago (2016-08-30 22:51:27 UTC) #2
dtu
Forgive me if I don't really know what's going on with this code either -- ...
4 years, 3 months ago (2016-08-31 02:35:46 UTC) #3
ncarter (slow)
Please take another look. It turns out that just caching the fnmatch regexes suffices to ...
4 years, 3 months ago (2016-09-01 21:58:15 UTC) #4
dtu
lgtm
4 years, 3 months ago (2016-09-01 23:31:55 UTC) #8
ncarter (slow)
dpranke: ping
4 years, 3 months ago (2016-09-08 17:07:39 UTC) #13
Dirk Pranke
I'm sorry for the delay in this. I was OOO for a while, and then ...
4 years, 3 months ago (2016-09-16 22:57:34 UTC) #15
ncarter (slow)
No worries, we've all been there.
4 years, 3 months ago (2016-09-16 22:59:30 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2293233002/20001
4 years, 3 months ago (2016-09-16 22:59:39 UTC) #18
commit-bot: I haz the power
4 years, 3 months ago (2016-09-16 23:05:09 UTC) #20
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/tools/depot_tools/+/7e16cf303221bb...

Powered by Google App Engine
This is Rietveld 408576698