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

Issue 2127003002: Switch cc::RollingTimeDeltaHistory to use a vector (Closed)

Created:
4 years, 5 months ago by chongjiang
Modified:
4 years, 5 months ago
Reviewers:
dhsharp, danakj
CC:
chromium-reviews, cc-bugs_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Switch cc::RollingTimeDeltaHistory to use a vector BUG=625351 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Committed: https://crrev.com/9d71ccf7550bfaed0cd64cd168b55471fdfc8330 Cr-Commit-Position: refs/heads/master@{#404899}

Patch Set 1 #

Patch Set 2 : replace modulo with a branch #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -32 lines) Patch
M cc/base/rolling_time_delta_history.h View 2 chunks +3 lines, -6 lines 0 comments Download
M cc/base/rolling_time_delta_history.cc View 1 3 chunks +19 lines, -26 lines 2 comments Download

Messages

Total messages: 16 (7 generated)
chongjiang
4 years, 5 months ago (2016-07-08 22:21:09 UTC) #5
dhsharp
lgtm, but owners should review.
4 years, 5 months ago (2016-07-12 19:56:23 UTC) #6
danakj
LGTM https://codereview.chromium.org/2127003002/diff/40001/cc/base/rolling_time_delta_history.cc File cc/base/rolling_time_delta_history.cc (right): https://codereview.chromium.org/2127003002/diff/40001/cc/base/rolling_time_delta_history.cc#newcode35 cc/base/rolling_time_delta_history.cc:35: sample_vector_.clear(); should we reserve() after this again? it's ...
4 years, 5 months ago (2016-07-12 20:08:43 UTC) #7
dhsharp
https://codereview.chromium.org/2127003002/diff/40001/cc/base/rolling_time_delta_history.cc File cc/base/rolling_time_delta_history.cc (right): https://codereview.chromium.org/2127003002/diff/40001/cc/base/rolling_time_delta_history.cc#newcode35 cc/base/rolling_time_delta_history.cc:35: sample_vector_.clear(); On 2016/07/12 20:08:43, danakj wrote: > should we ...
4 years, 5 months ago (2016-07-12 20:25:01 UTC) #8
danakj
On Tue, Jul 12, 2016 at 1:25 PM, <dhsharp@chromium.org> wrote: > > > https://codereview.chromium.org/2127003002/diff/40001/cc/base/rolling_time_delta_history.cc > ...
4 years, 5 months ago (2016-07-12 20:26:56 UTC) #9
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/2127003002/40001
4 years, 5 months ago (2016-07-12 20:47:17 UTC) #11
commit-bot: I haz the power
Committed patchset #2 (id:40001)
4 years, 5 months ago (2016-07-13 02:16:48 UTC) #13
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/9d71ccf7550bfaed0cd64cd168b55471fdfc8330 Cr-Commit-Position: refs/heads/master@{#404899}
4 years, 5 months ago (2016-07-13 02:19:18 UTC) #15
chongjiang
4 years, 5 months ago (2016-07-19 23:02:52 UTC) #16
Message was sent while issue was closed.
A revert of this CL (patchset #2 id:40001) has been created in
https://codereview.chromium.org/2161113004/ by chongjiang@chromium.org.

The reason for reverting is: Performance regression:
https://bugs.chromium.org/p/chromium/issues/detail?id=629349.

Powered by Google App Engine
This is Rietveld 408576698