Description was changed from ========== implement exact cache counting if supported BUG=671196 ========== to ========== ...
3 years, 11 months ago
(2017-01-12 12:52:55 UTC)
#1
Description was changed from
==========
implement exact cache counting if supported
BUG=671196
==========
to
==========
Use exact cache counting for time ranges if supported.
BUG=671196
==========
dullweber
The CQ bit was checked by dullweber@chromium.org to run a CQ dry run
3 years, 11 months ago
(2017-01-12 12:53:02 UTC)
#2
Description was changed from ========== Use exact cache counting for time ranges if supported. BUG=671196 ...
3 years, 11 months ago
(2017-01-12 12:56:29 UTC)
#4
Description was changed from
==========
Use exact cache counting for time ranges if supported.
BUG=671196
==========
to
==========
Use exact cache counting for time ranges if supported. This will show the right
cache size on linux and android, where SimpleBackend is used for caching and
show the upper estimate on Windows for the blockfile cache
BUG=671196
==========
Dry run: Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/345455)
3 years, 11 months ago
(2017-01-12 13:07:37 UTC)
#7
3 years, 11 months ago
(2017-01-12 14:28:00 UTC)
#10
msramek
browsing_data/ LGTM https://codereview.chromium.org/2626223002/diff/40001/chrome/browser/browsing_data/conditional_cache_counting_helper_browsertest.cc File chrome/browser/browsing_data/conditional_cache_counting_helper_browsertest.cc (right): https://codereview.chromium.org/2626223002/diff/40001/chrome/browser/browsing_data/conditional_cache_counting_helper_browsertest.cc#newcode94 chrome/browser/browsing_data/conditional_cache_counting_helper_browsertest.cc:94: base::PlatformThread::Sleep(base::TimeDelta::FromMilliseconds(kTimeoutMs)); nit: This Sleep() is here because ...
3 years, 11 months ago
(2017-01-12 14:44:07 UTC)
#11
Description was changed from ========== Use exact cache counting for time ranges if supported. This ...
3 years, 11 months ago
(2017-01-12 15:02:48 UTC)
#12
Description was changed from
==========
Use exact cache counting for time ranges if supported. This will show the right
cache size on linux and android, where SimpleBackend is used for caching and
show the upper estimate on Windows for the blockfile cache
BUG=671196
==========
to
==========
Use exact cache counting for time ranges if supported. This will show the right
cache size on linux and android, where SimpleBackend is used for caching and
show the upper estimate on Windows for the blockfile cache
BUG=671196
BASE=2626173003
==========
dullweber
https://codereview.chromium.org/2626223002/diff/40001/chrome/browser/browsing_data/conditional_cache_counting_helper_browsertest.cc File chrome/browser/browsing_data/conditional_cache_counting_helper_browsertest.cc (right): https://codereview.chromium.org/2626223002/diff/40001/chrome/browser/browsing_data/conditional_cache_counting_helper_browsertest.cc#newcode94 chrome/browser/browsing_data/conditional_cache_counting_helper_browsertest.cc:94: base::PlatformThread::Sleep(base::TimeDelta::FromMilliseconds(kTimeoutMs)); On 2017/01/12 14:44:07, msramek wrote: > nit: This ...
3 years, 11 months ago
(2017-01-12 15:03:42 UTC)
#13
https://codereview.chromium.org/2626223002/diff/40001/chrome/browser/browsing...
File
chrome/browser/browsing_data/conditional_cache_counting_helper_browsertest.cc
(right):
https://codereview.chromium.org/2626223002/diff/40001/chrome/browser/browsing...
chrome/browser/browsing_data/conditional_cache_counting_helper_browsertest.cc:94:
base::PlatformThread::Sleep(base::TimeDelta::FromMilliseconds(kTimeoutMs));
On 2017/01/12 14:44:07, msramek wrote:
> nit: This Sleep() is here because of |t3|? Then please move |t3| right behind
> this line so that it's obvious.
The issue is that DoomEntriesBetween on the SimpleBackend adds 1 second before
and after the time interval. I copied this behavior for the counter to have it
consistent. So if I only want to get the entries between t1 and t2 I need 1
second after t2. When I only want to get entries between t2 and t3 I need 1
second before t2.
https://codereview.chromium.org/2626223002/diff/40001/components/browsing_dat...
File components/browsing_data/content/conditional_cache_counting_helper.cc
(right):
https://codereview.chromium.org/2626223002/diff/40001/components/browsing_dat...
components/browsing_data/content/conditional_cache_counting_helper.cc:145: rv =
cache_->CalculateSizeOfEntriesBetween(
On 2017/01/12 14:44:07, msramek wrote:
> This is based on top of 2626173003, right? Please mention it in the CL
> description.
>
> "BASE=2626173003"
Done.
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
3 years, 11 months ago
(2017-01-12 15:20:38 UTC)
#14
3 years, 11 months ago
(2017-01-12 15:20:39 UTC)
#15
Dry run: This issue passed the CQ dry run.
dullweber
Description was changed from ========== Use exact cache counting for time ranges if supported. This ...
3 years, 11 months ago
(2017-01-16 10:25:46 UTC)
#16
Description was changed from
==========
Use exact cache counting for time ranges if supported. This will show the right
cache size on linux and android, where SimpleBackend is used for caching and
show the upper estimate on Windows for the blockfile cache
BUG=671196
BASE=2626173003
==========
to
==========
Show the exact cache size for time ranges if supported. This will show the right
cache size when a time range is selected on linux and android, where
SimpleBackend is used for caching. Windows will still show the upper estimate
because there is no efficient way to determine the cache size in the blockfile
cache.
BUG=671196
BASE=2626173003
==========
Try jobs failed on following builders: ios-device on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device/builds/137535) ios-simulator on master.tryserver.chromium.mac (JOB_FAILED, ...
3 years, 11 months ago
(2017-01-18 09:17:18 UTC)
#23
CQ is committing da patch. Bot data: {"patchset_id": 60001, "attempt_start_ts": 1484737126632480, "parent_rev": "b06c17f5fe6d769739ca8b669690f305e0860c8e", "commit_rev": "de9e5f3b8c67ff572ca76b292b5a51bf474e8d4f"}
3 years, 11 months ago
(2017-01-18 11:35:50 UTC)
#27
CQ is committing da patch.
Bot data: {"patchset_id": 60001, "attempt_start_ts": 1484737126632480,
"parent_rev": "b06c17f5fe6d769739ca8b669690f305e0860c8e", "commit_rev":
"de9e5f3b8c67ff572ca76b292b5a51bf474e8d4f"}
commit-bot: I haz the power
Description was changed from ========== Show the exact cache size for time ranges if supported. ...
3 years, 11 months ago
(2017-01-18 11:36:16 UTC)
#28
Message was sent while issue was closed.
Description was changed from
==========
Show the exact cache size for time ranges if supported. This will show the right
cache size when a time range is selected on linux and android, where
SimpleBackend is used for caching. Windows will still show the upper estimate
because there is no efficient way to determine the cache size in the blockfile
cache.
BUG=671196
BASE=2626173003
==========
to
==========
Show the exact cache size for time ranges if supported. This will show the right
cache size when a time range is selected on linux and android, where
SimpleBackend is used for caching. Windows will still show the upper estimate
because there is no efficient way to determine the cache size in the blockfile
cache.
BUG=671196
BASE=2626173003
Review-Url: https://codereview.chromium.org/2626223002
Cr-Commit-Position: refs/heads/master@{#444335}
Committed:
https://chromium.googlesource.com/chromium/src/+/de9e5f3b8c67ff572ca76b292b5a...
==========
commit-bot: I haz the power
Committed patchset #4 (id:60001) as https://chromium.googlesource.com/chromium/src/+/de9e5f3b8c67ff572ca76b292b5a51bf474e8d4f
3 years, 11 months ago
(2017-01-18 11:36:17 UTC)
#29
Issue 2626223002: Show the exact cache size for time ranges if supported
(Closed)
Created 3 years, 11 months ago by dullweber
Modified 3 years, 11 months ago
Reviewers: msramek, Dan Beam
Base URL:
Comments: 4