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

Issue 1410833005: Test multideque (Closed)

Created:
5 years, 1 month ago by prashant.n
Modified:
4 years, 10 months ago
CC:
chromium-reviews, cc-bugs_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@resource_evict_fix
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Test multideque BUG=552228 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel

Patch Set 1 #

Patch Set 2 : Added traces to compute cost of functions. #

Total comments: 6

Patch Set 3 : Test cost of only traversing. #

Patch Set 4 : Erased resource once found and updated test littlebit. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+259 lines, -15 lines) Patch
M cc/resources/resource_pool.cc View 1 2 3 3 chunks +27 lines, -15 lines 0 comments Download
M cc/resources/resource_pool_unittest.cc View 1 2 3 2 chunks +232 lines, -0 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 8 (2 generated)
prashant.n
Kindly check and do let me know if we should implement in resource pool.
5 years, 1 month ago (2015-11-06 04:47:12 UTC) #3
danakj
https://codereview.chromium.org/1410833005/diff/20001/cc/resources/resource_pool_unittest.cc File cc/resources/resource_pool_unittest.cc (right): https://codereview.chromium.org/1410833005/diff/20001/cc/resources/resource_pool_unittest.cc#newcode238 cc/resources/resource_pool_unittest.cc:238: return resource; don't you need to erase from from ...
5 years, 1 month ago (2015-11-09 19:32:51 UTC) #4
prashant.n
https://codereview.chromium.org/1410833005/diff/20001/cc/resources/resource_pool_unittest.cc File cc/resources/resource_pool_unittest.cc (right): https://codereview.chromium.org/1410833005/diff/20001/cc/resources/resource_pool_unittest.cc#newcode238 cc/resources/resource_pool_unittest.cc:238: return resource; On 2015/11/09 19:32:51, danakj wrote: > don't ...
5 years, 1 month ago (2015-11-10 04:10:50 UTC) #5
prashant.n
Updated results in bug, on the latest patch set.
5 years, 1 month ago (2015-11-10 05:41:09 UTC) #6
danakj
https://codereview.chromium.org/1410833005/diff/20001/cc/resources/resource_pool_unittest.cc File cc/resources/resource_pool_unittest.cc (right): https://codereview.chromium.org/1410833005/diff/20001/cc/resources/resource_pool_unittest.cc#newcode238 cc/resources/resource_pool_unittest.cc:238: return resource; On 2015/11/10 04:10:50, prashant.n wrote: > On ...
5 years, 1 month ago (2015-11-10 22:12:06 UTC) #7
prashant.n
5 years, 1 month ago (2015-11-11 03:04:05 UTC) #8
> 
> But the actual acquire does erase.
> 

In worst case if we don't get any resource, we don't erase. If in worst case MDQ
is faster then definitely if we get the element it is faster. Because the cost
is for finding the queue for the required size and erasing last element from the
queue found.

Powered by Google App Engine
This is Rietveld 408576698