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

Issue 9639: Port flush_cache tool. (Closed)

Created:
12 years, 1 month ago by please use my chromium address
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : '' #

Patch Set 5 : '' #

Patch Set 6 : '' #

Patch Set 7 : '' #

Patch Set 8 : '' #

Patch Set 9 : '' #

Patch Set 10 : '' #

Patch Set 11 : '' #

Patch Set 12 : '' #

Patch Set 13 : '' #

Patch Set 14 : '' #

Patch Set 15 : '' #

Patch Set 16 : '' #

Total comments: 2

Patch Set 17 : '' #

Patch Set 18 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+171 lines, -225 lines) Patch
M base/base_lib.scons View 11 12 13 14 15 16 17 2 chunks +2 lines, -0 lines 0 comments Download
M base/test_file_util.h View 11 12 13 14 15 16 17 1 chunk +3 lines, -1 line 0 comments Download
M base/test_file_util_linux.cc View 11 12 13 14 15 16 17 1 chunk +2 lines, -3 lines 0 comments Download
M base/test_file_util_mac.cc View 11 12 13 14 15 16 17 1 chunk +1 line, -1 line 0 comments Download
M base/test_file_util_win.cc View 11 12 13 4 chunks +6 lines, -5 lines 0 comments Download
M chrome/browser/safe_browsing/database_perftest.cc View 12 13 14 15 16 17 10 chunks +91 lines, -85 lines 0 comments Download
M chrome/browser/safe_browsing/safe_browsing_database.h View 12 13 14 15 16 17 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/visitedlink_perftest.cc View 5 6 7 8 9 10 11 12 13 14 15 16 17 2 chunks +3 lines, -1 line 0 comments Download
M chrome/chrome.scons View 12 13 14 15 16 17 2 chunks +0 lines, -2 lines 0 comments Download
M chrome/test/perf/perftests.cc View 12 13 14 15 16 17 3 chunks +7 lines, -2 lines 0 comments Download
M chrome/test/perf/perftests.scons View 12 13 14 15 16 17 3 chunks +31 lines, -37 lines 0 comments Download
M chrome/tools/perf/flush_cache/flush_cache.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 2 chunks +4 lines, -2 lines 0 comments Download
M net/disk_cache/disk_cache_perftest.cc View 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 4 chunks +18 lines, -83 lines 0 comments Download

Messages

Total messages: 29 (0 generated)
please use my chromium address
12 years, 1 month ago (2008-11-06 15:39:01 UTC) #1
Dean McNamee
http://codereview.chromium.org/9639/diff/1/4 File base/file_util.h (right): http://codereview.chromium.org/9639/diff/1/4#newcode392 Line 392: // to access this file will result in ...
12 years, 1 month ago (2008-11-06 16:24:53 UTC) #2
please use my chromium address
On 2008/11/06 16:24:53, Dean McNamee wrote: > http://codereview.chromium.org/9639/diff/1/4 > File base/file_util.h (right): > > http://codereview.chromium.org/9639/diff/1/4#newcode392 ...
12 years, 1 month ago (2008-11-06 16:35:59 UTC) #3
please use my chromium address
I forgot to add my disk_cache_perftest changes. This removes duplication.
12 years, 1 month ago (2008-11-06 18:31:41 UTC) #4
agl
http://codereview.chromium.org/9639/diff/213/216 File base/file_util.h (right): http://codereview.chromium.org/9639/diff/213/216#newcode393 Line 393: bool EvictFileFromSystemCache(const wchar_t* file); We probably shouldn't be ...
12 years, 1 month ago (2008-11-06 19:04:55 UTC) #5
please use my chromium address
Updated to use FilePath.
12 years, 1 month ago (2008-11-06 21:14:55 UTC) #6
agl
LGTM
12 years, 1 month ago (2008-11-11 01:04:00 UTC) #7
please use my chromium address
Patch updated to hopefully fix compile failure.
12 years, 1 month ago (2008-11-11 21:14:46 UTC) #8
please use my chromium address
Updated after patch got reverted (don't know reason yet, just merged changes from trunk and ...
12 years, 1 month ago (2008-11-14 20:28:23 UTC) #9
please use my chromium address
On 2008/11/14 20:28:23, phajdan.jr wrote: > Updated after patch got reverted (don't know reason yet, ...
12 years, 1 month ago (2008-11-18 19:58:12 UTC) #10
please use my chromium address
*ping* *ping* *ping* This patch is already LGTM-ed. I updated it today to be sure ...
12 years, 1 month ago (2008-11-24 11:37:02 UTC) #11
Dean McNamee
http://codereview.chromium.org/9639/diff/1022/1217 File base/file_util_win.cc (right): http://codereview.chromium.org/9639/diff/1022/1217#newcode711 Line 711: char buffer[128 * 1024]; 128k is huge for ...
12 years, 1 month ago (2008-11-24 16:26:59 UTC) #12
brettw
http://codereview.chromium.org/9639/diff/1022/1217 File base/file_util_win.cc (right): http://codereview.chromium.org/9639/diff/1022/1217#newcode711 Line 711: char buffer[128 * 1024]; I agree. I don't ...
12 years, 1 month ago (2008-11-24 16:53:51 UTC) #13
please use my chromium address
On 2008/11/24 16:53:51, brettw wrote: > http://codereview.chromium.org/9639/diff/1022/1217 > File base/file_util_win.cc (right): > > http://codereview.chromium.org/9639/diff/1022/1217#newcode711 > ...
12 years, 1 month ago (2008-11-24 20:29:55 UTC) #14
Dean McNamee
Please merge with recent changes (test_file_util moving to base/, etc). On 2008/11/24 20:29:55, phajdan.jr wrote: ...
12 years ago (2008-11-26 00:00:44 UTC) #15
please use my chromium address
Merged trunk changes, and merged flush_cache and perf_tests together, because changes are related to each ...
12 years ago (2008-11-26 20:03:40 UTC) #16
Dean McNamee
net_perftests errors: 1: disk_cache_perftest.obj : error LNK2019: unresolved external symbol "bool __cdecl file_util::EvictFileFromSystemCache(class FilePath const ...
12 years ago (2008-11-27 00:36:53 UTC) #17
please use my chromium address
On 2008/11/27 00:36:53, Dean McNamee wrote: > test_shell errors: > 1: javascriptcore_pcre.lib(pcre_xclass.obj) : error LNK2005: ...
12 years ago (2008-11-27 11:47:07 UTC) #18
please use my chromium address
On 2008/11/27 11:47:07, phajdan.jr wrote: > On 2008/11/27 00:36:53, Dean McNamee wrote: > > test_shell ...
12 years ago (2008-11-27 12:22:09 UTC) #19
Dean McNamee
http://codereview.chromium.org/9639/diff/636/860 File chrome/browser/safe_browsing/database_perftest.cc (right): http://codereview.chromium.org/9639/diff/636/860#newcode48 Line 48: filename = filename.Append(name.value()); Should name actually be a ...
12 years ago (2008-12-03 11:49:37 UTC) #20
please use my chromium address
On 2008/12/03 11:49:37, Dean McNamee wrote: > http://codereview.chromium.org/9639/diff/636/860#newcode280 > Line 280: int hostkey = base::RandInt(0, ...
12 years ago (2008-12-03 16:57:11 UTC) #21
please use my chromium address
Updated to use FilePath.Append(FilePath).
12 years ago (2008-12-03 20:00:39 UTC) #22
rvargas (doing something else)
http://codereview.chromium.org/9639/diff/674/892 File net/disk_cache/disk_cache_perftest.cc (right): http://codereview.chromium.org/9639/diff/674/892#newcode158 Line 158: std::wstring path_wstring = GetCachePath(); nit: Using the type ...
12 years ago (2008-12-03 21:49:43 UTC) #23
Mark Mentovai
http://codereview.chromium.org/9639/diff/674/892 File net/disk_cache/disk_cache_perftest.cc (right): http://codereview.chromium.org/9639/diff/674/892#newcode158 Line 158: std::wstring path_wstring = GetCachePath(); rvargas wrote: > nit: ...
12 years ago (2008-12-03 22:07:41 UTC) #24
please use my chromium address
On 2008/12/03 21:49:43, rvargas wrote: > http://codereview.chromium.org/9639/diff/674/892#newcode189 > Line 189: cache = disk_cache::CreateCacheBackend(path.ToWStringHack(), false, > ...
12 years ago (2008-12-03 22:12:16 UTC) #25
rvargas (doing something else)
http://codereview.chromium.org/9639/diff/674/892 File net/disk_cache/disk_cache_perftest.cc (right): http://codereview.chromium.org/9639/diff/674/892#newcode158 Line 158: std::wstring path_wstring = GetCachePath(); Yes, I see that, ...
12 years ago (2008-12-03 23:52:46 UTC) #26
Mark Mentovai
LGTM for the most part, but have you tested on Windows? http://codereview.chromium.org/9639/diff/684/913 File chrome/browser/safe_browsing/database_perftest.cc (right): ...
12 years ago (2008-12-05 18:06:50 UTC) #27
rvargas (doing something else)
http://codereview.chromium.org/9639/diff/684/906 File chrome/tools/perf/flush_cache/flush_cache.cc (right): http://codereview.chromium.org/9639/diff/684/906#newcode5 Line 5: // This little program attempts to flush the ...
12 years ago (2008-12-05 19:50:28 UTC) #28
please use my chromium address
12 years ago (2008-12-08 10:01:40 UTC) #29
On 2008/12/05 18:06:50, Mark Mentovai wrote:
> LGTM for the most part, but have you tested on Windows?

No, but I'll try to convince someone to send it to a trybot.

> http://codereview.chromium.org/9639/diff/684/913
> File chrome/browser/safe_browsing/database_perftest.cc (right):
> 
> http://codereview.chromium.org/9639/diff/684/913#newcode470
> Line 470: DLOG(INFO) << path_.BaseName().value() << " read " << keys_to_read
<<
> That'll be a wstring on Windows, right?

Right.

rvargas: fixed.

Powered by Google App Engine
This is Rietveld 408576698