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

Issue 430053003: cc: Heapify pointers instead of objects in eviction tile priority queue. (Closed)

Created:
6 years, 4 months ago by vmpstr
Modified:
6 years, 4 months ago
Reviewers:
reveman
CC:
chromium-reviews, cc-bugs_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

cc: Heapify pointers instead of objects in eviction tile priority queue. This patch ensures that we heapify pointers instead of objects in priority queue eviction. Performance data: Before: tile_manager_eviction_tile_queue_construct: 2= 411875.46875 runs/s 10= 8762.1435546875 runs/s 50= 48.008880615234375 runs/s tile_manager_eviction_tile_queue_construct_and_iterate: 2_16= 3337.1767578125 runs/s 2_32= 3041.9306640625 runs/s 2_64= 2513.700439453125 runs/s 2_128= 1940.756591796875 runs/s After: tile_manager_eviction_tile_queue_construct: 2= 391767.84375 runs/s (-5%) 10= 8705.869140625 runs/s (-2%) 50= 49.93892288208008 runs/s (+4%) tile_manager_eviction_tile_queue_construct_and_iterate: 2_16= 3691.25146484375 runs/s (+10%) 2_32= 3666.619384765625 runs/s (+20%) 2_64= 3544.351318359375 runs/s (+41%) 2_128= 3341.751708984375 runs/s (+72%) R=reveman Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=287846

Patch Set 1 #

Patch Set 2 : update #

Total comments: 2

Patch Set 3 : s/_heap// #

Unified diffs Side-by-side diffs Delta from patch set Stats (+30 lines, -32 lines) Patch
M cc/resources/eviction_tile_priority_queue.h View 1 2 1 chunk +4 lines, -1 line 0 comments Download
M cc/resources/eviction_tile_priority_queue.cc View 1 2 3 chunks +17 lines, -22 lines 0 comments Download
M cc/resources/raster_tile_priority_queue.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M cc/resources/raster_tile_priority_queue.cc View 1 2 1 chunk +8 lines, -8 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
vmpstr
PTAL. This is the same change as what https://codereview.chromium.org/431433005 does for raster iterators, so we ...
6 years, 4 months ago (2014-07-31 00:00:16 UTC) #1
vmpstr
I've updated this to be similar to the raster tile priority queue (using ScopedPtrVector). PTAL.
6 years, 4 months ago (2014-08-05 20:17:00 UTC) #2
reveman
lgtm with nit https://codereview.chromium.org/430053003/diff/20001/cc/resources/eviction_tile_priority_queue.h File cc/resources/eviction_tile_priority_queue.h (right): https://codereview.chromium.org/430053003/diff/20001/cc/resources/eviction_tile_priority_queue.h#newcode53 cc/resources/eviction_tile_priority_queue.h:53: ScopedPtrVector<PairedPictureLayerQueue> paired_queues_heap_; nit: not sure it's ...
6 years, 4 months ago (2014-08-06 01:37:42 UTC) #3
vmpstr
https://codereview.chromium.org/430053003/diff/20001/cc/resources/eviction_tile_priority_queue.h File cc/resources/eviction_tile_priority_queue.h (right): https://codereview.chromium.org/430053003/diff/20001/cc/resources/eviction_tile_priority_queue.h#newcode53 cc/resources/eviction_tile_priority_queue.h:53: ScopedPtrVector<PairedPictureLayerQueue> paired_queues_heap_; On 2014/08/06 01:37:42, reveman wrote: > nit: ...
6 years, 4 months ago (2014-08-06 15:54:19 UTC) #4
vmpstr
The CQ bit was checked by vmpstr@chromium.org
6 years, 4 months ago (2014-08-06 15:54:23 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vmpstr@chromium.org/430053003/40001
6 years, 4 months ago (2014-08-06 15:55:44 UTC) #6
commit-bot: I haz the power
6 years, 4 months ago (2014-08-06 20:37:34 UTC) #7
Message was sent while issue was closed.
Change committed as 287846

Powered by Google App Engine
This is Rietveld 408576698