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

Issue 9703108: Switch to the good LRU implementation. (Closed)

Created:
8 years, 9 months ago by szager
Modified:
8 years, 9 months ago
CC:
chromium-reviews, nsylvain+cc_chromium.org, cmp+cc_chromium.org
Visibility:
Public.

Description

Switch to a better LRU implementation. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=127266

Patch Set 1 #

Total comments: 5

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Total comments: 4

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+452 lines, -28 lines) Patch
M third_party/buildbot_8_4p1/README.chromium View 1 2 1 chunk +286 lines, -0 lines 0 comments Download
M third_party/buildbot_8_4p1/buildbot/status/builder.py View 1 2 10 chunks +19 lines, -28 lines 0 comments Download
A third_party/buildbot_8_4p1/buildbot/test/unit/test_status_builder_cache.py View 1 2 3 4 1 chunk +70 lines, -0 lines 0 comments Download
M third_party/buildbot_8_4p1/buildbot/util/lru.py View 1 2 1 chunk +77 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
szager
8 years, 9 months ago (2012-03-16 09:41:17 UTC) #1
M-A Ruel
lgtm with a few nits, thanks! https://chromiumcodereview.appspot.com/9703108/diff/1/third_party/buildbot_8_4p1/buildbot/status/builder.py File third_party/buildbot_8_4p1/buildbot/status/builder.py (right): https://chromiumcodereview.appspot.com/9703108/diff/1/third_party/buildbot_8_4p1/buildbot/status/builder.py#newcode89 third_party/buildbot_8_4p1/buildbot/status/builder.py:89: #self.buildCache = weakref.WeakValueDictionary() ...
8 years, 9 months ago (2012-03-16 13:02:05 UTC) #2
cmp
lgtm with maruel's comments https://chromiumcodereview.appspot.com/9703108/diff/1/third_party/buildbot_8_4p1/buildbot/status/builder.py File third_party/buildbot_8_4p1/buildbot/status/builder.py (right): https://chromiumcodereview.appspot.com/9703108/diff/1/third_party/buildbot_8_4p1/buildbot/status/builder.py#newcode89 third_party/buildbot_8_4p1/buildbot/status/builder.py:89: #self.buildCache = weakref.WeakValueDictionary() On 2012/03/16 ...
8 years, 9 months ago (2012-03-16 17:40:51 UTC) #3
szager
Added SyncLRUCache, and use it in BuilderStatus. https://chromiumcodereview.appspot.com/9703108/diff/1/third_party/buildbot_8_4p1/buildbot/status/builder.py File third_party/buildbot_8_4p1/buildbot/status/builder.py (right): https://chromiumcodereview.appspot.com/9703108/diff/1/third_party/buildbot_8_4p1/buildbot/status/builder.py#newcode89 third_party/buildbot_8_4p1/buildbot/status/builder.py:89: #self.buildCache = ...
8 years, 9 months ago (2012-03-16 20:52:04 UTC) #4
szager
Small bug fix, and added a unit test.
8 years, 9 months ago (2012-03-16 21:50:08 UTC) #5
szager
Would you mind reviewing this again? It didn't have SyncLRUCache before. Thanks, Stefan On Fri, ...
8 years, 9 months ago (2012-03-16 21:51:03 UTC) #6
cmp
https://chromiumcodereview.appspot.com/9703108/diff/10001/third_party/buildbot_8_4p1/buildbot/test/unit/test_status_builder_cache.py File third_party/buildbot_8_4p1/buildbot/test/unit/test_status_builder_cache.py (right): https://chromiumcodereview.appspot.com/9703108/diff/10001/third_party/buildbot_8_4p1/buildbot/test/unit/test_status_builder_cache.py#newcode28 third_party/buildbot_8_4p1/buildbot/test/unit/test_status_builder_cache.py:28: # Ackwardly, Status sets this member variable. Ackwardly -> ...
8 years, 9 months ago (2012-03-16 21:57:08 UTC) #7
szager
https://chromiumcodereview.appspot.com/9703108/diff/10001/third_party/buildbot_8_4p1/buildbot/test/unit/test_status_builder_cache.py File third_party/buildbot_8_4p1/buildbot/test/unit/test_status_builder_cache.py (right): https://chromiumcodereview.appspot.com/9703108/diff/10001/third_party/buildbot_8_4p1/buildbot/test/unit/test_status_builder_cache.py#newcode28 third_party/buildbot_8_4p1/buildbot/test/unit/test_status_builder_cache.py:28: # Ackwardly, Status sets this member variable. On 2012/03/16 ...
8 years, 9 months ago (2012-03-16 22:02:24 UTC) #8
cmp
lgtm
8 years, 9 months ago (2012-03-16 22:03:26 UTC) #9
cmp
FYI, I scanned AsyncLRUCache to look for any other instances of deferreds and confirmed that ...
8 years, 9 months ago (2012-03-16 22:04:55 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/szager@google.com/9703108/8005
8 years, 9 months ago (2012-03-16 22:10:53 UTC) #11
commit-bot: I haz the power
8 years, 9 months ago (2012-03-16 22:12:49 UTC) #12
Change committed as 127266

Powered by Google App Engine
This is Rietveld 408576698