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

Issue 455563002: Prefetch cache pt1 - MRU (Closed)

Created:
6 years, 4 months ago by groby-ooo-7-16
Modified:
6 years, 4 months ago
Reviewers:
Peter Kasting
CC:
chromium-reviews, James Su
Base URL:
https://chromium.googlesource.com/chromium/src.git@pfq-base
Project:
chromium
Visibility:
Public.

Description

[AiS] Better prefetch cache. Step 1 - factor out current cache and increase its size. BUG=401758 R=pkasting@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=291307

Patch Set 1 : Factor existing cache into separate class. #

Patch Set 2 : Added unit test for cache, moved cache-related stuff out of search_provider tests. #

Patch Set 3 : MRU cache #

Total comments: 16

Patch Set 4 : Review fixes. #

Total comments: 2

Patch Set 5 : This one weird trick lets your compiler optimize better! #

Patch Set 6 : Rebase to HEAD #

Patch Set 7 : Catching up to a later HEAD. Again. #

Patch Set 8 : Get rid of C++11 features... :( #

Unified diffs Side-by-side diffs Delta from patch set Stats (+223 lines, -34 lines) Patch
A chrome/browser/autocomplete/answers_cache.h View 1 2 3 4 1 chunk +46 lines, -0 lines 0 comments Download
A chrome/browser/autocomplete/answers_cache.cc View 1 2 3 4 5 6 7 1 chunk +51 lines, -0 lines 0 comments Download
A chrome/browser/autocomplete/answers_cache_unittest.cc View 1 2 3 1 chunk +113 lines, -0 lines 0 comments Download
M chrome/browser/autocomplete/search_provider.h View 1 2 3 4 5 6 7 3 chunks +3 lines, -7 lines 0 comments Download
M chrome/browser/autocomplete/search_provider.cc View 1 2 3 4 5 6 7 3 chunks +6 lines, -10 lines 0 comments Download
M chrome/browser/autocomplete/search_provider_unittest.cc View 1 2 3 4 5 3 chunks +1 line, -17 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 7 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 26 (0 generated)
groby-ooo-7-16
Step one of making prefetch cache persistent.
6 years, 4 months ago (2014-08-08 21:51:45 UTC) #1
groby-ooo-7-16
Friendly ping? (Sorry if "step 1" was misleading. I plan to land this, if possible, ...
6 years, 4 months ago (2014-08-11 19:38:21 UTC) #2
Peter Kasting
https://codereview.chromium.org/455563002/diff/40001/chrome/browser/autocomplete/answers_cache.cc File chrome/browser/autocomplete/answers_cache.cc (right): https://codereview.chromium.org/455563002/diff/40001/chrome/browser/autocomplete/answers_cache.cc#newcode54 chrome/browser/autocomplete/answers_cache.cc:54: return cache_.empty(); Nit: This should perhaps be inlined into ...
6 years, 4 months ago (2014-08-11 22:15:34 UTC) #3
groby-ooo-7-16
PTAL https://codereview.chromium.org/455563002/diff/40001/chrome/browser/autocomplete/answers_cache.cc File chrome/browser/autocomplete/answers_cache.cc (right): https://codereview.chromium.org/455563002/diff/40001/chrome/browser/autocomplete/answers_cache.cc#newcode54 chrome/browser/autocomplete/answers_cache.cc:54: return cache_.empty(); On 2014/08/11 22:15:33, Peter Kasting wrote: ...
6 years, 4 months ago (2014-08-12 01:16:27 UTC) #4
groby-ooo-7-16
Now with actual CL
6 years, 4 months ago (2014-08-12 03:43:02 UTC) #5
Peter Kasting
LGTM https://codereview.chromium.org/455563002/diff/60001/chrome/browser/autocomplete/answers_cache.h File chrome/browser/autocomplete/answers_cache.h (right): https://codereview.chromium.org/455563002/diff/60001/chrome/browser/autocomplete/answers_cache.h#newcode36 chrome/browser/autocomplete/answers_cache.h:36: bool empty() { return cache_.empty(); } Nit: Can ...
6 years, 4 months ago (2014-08-12 18:32:13 UTC) #6
groby-ooo-7-16
https://codereview.chromium.org/455563002/diff/60001/chrome/browser/autocomplete/answers_cache.h File chrome/browser/autocomplete/answers_cache.h (right): https://codereview.chromium.org/455563002/diff/60001/chrome/browser/autocomplete/answers_cache.h#newcode36 chrome/browser/autocomplete/answers_cache.h:36: bool empty() { return cache_.empty(); } On 2014/08/12 18:32:13, ...
6 years, 4 months ago (2014-08-12 19:53:33 UTC) #7
groby-ooo-7-16
The CQ bit was checked by groby@chromium.org
6 years, 4 months ago (2014-08-12 19:53:36 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/groby@chromium.org/455563002/80001
6 years, 4 months ago (2014-08-12 19:58:02 UTC) #9
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_gpu on tryserver.chromium.gpu ...
6 years, 4 months ago (2014-08-12 21:06:33 UTC) #10
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-12 21:12:57 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: linux_gpu on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/linux_gpu/builds/51474) mac_gpu on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/mac_gpu/builds/40750) win_gpu ...
6 years, 4 months ago (2014-08-12 21:12:59 UTC) #12
groby-ooo-7-16
The CQ bit was checked by groby@chromium.org
6 years, 4 months ago (2014-08-15 03:56:38 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/groby@chromium.org/455563002/100001
6 years, 4 months ago (2014-08-15 03:57:43 UTC) #14
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_gpu on tryserver.chromium.gpu ...
6 years, 4 months ago (2014-08-15 04:11:28 UTC) #15
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-15 04:16:24 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: linux_gpu on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/linux_gpu/builds/52849) mac_gpu on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/mac_gpu/builds/42124) win_gpu ...
6 years, 4 months ago (2014-08-15 04:16:25 UTC) #17
groby-ooo-7-16
The CQ bit was checked by groby@chromium.org
6 years, 4 months ago (2014-08-15 05:17:59 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/groby@chromium.org/455563002/120001
6 years, 4 months ago (2014-08-15 05:22:05 UTC) #19
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: mac_gpu on tryserver.chromium.gpu ...
6 years, 4 months ago (2014-08-15 08:48:07 UTC) #20
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-15 08:57:03 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: android_clang_dbg on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/android_clang_dbg/builds/6295) android_dbg on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/android_dbg/builds/7243)
6 years, 4 months ago (2014-08-15 08:57:04 UTC) #22
groby-ooo-7-16
The CQ bit was checked by groby@chromium.org
6 years, 4 months ago (2014-08-22 00:01:57 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/groby@chromium.org/455563002/140001
6 years, 4 months ago (2014-08-22 00:04:14 UTC) #24
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_chromium_gn_compile_rel on tryserver.chromium.linux ...
6 years, 4 months ago (2014-08-22 01:00:28 UTC) #25
commit-bot: I haz the power
6 years, 4 months ago (2014-08-22 01:43:14 UTC) #26
Message was sent while issue was closed.
Committed patchset #8 (140001) as 291307

Powered by Google App Engine
This is Rietveld 408576698