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

Unified Diff: net/disk_cache/simple/simple_experiment.cc

Issue 2918893002: evict larger entries first (Closed)
Patch Set: comments addressed Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/disk_cache/simple/simple_experiment.h ('k') | net/disk_cache/simple/simple_index.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/disk_cache/simple/simple_experiment.cc
diff --git a/net/disk_cache/simple/simple_experiment.cc b/net/disk_cache/simple/simple_experiment.cc
index 38ea589322f97df405f9b48bcaa349510847ce52..df00bb06964efb04ee28fb9340fe2f7907067d16 100644
--- a/net/disk_cache/simple/simple_experiment.cc
+++ b/net/disk_cache/simple/simple_experiment.cc
@@ -15,6 +15,9 @@ namespace disk_cache {
const base::Feature kSimpleSizeExperiment = {"SimpleSizeExperiment",
pasko 2017/06/23 15:10:30 maybe allow a param like log/sqrt/whatever that yo
hubbe 2017/06/23 18:25:52 log & sqrt are too slow, don't make mathematical s
base::FEATURE_DISABLED_BY_DEFAULT};
+const base::Feature kSimpleCacheEvictionWithSize = {
+ "SimpleCacheEvictionWithSize", base::FEATURE_DISABLED_BY_DEFAULT};
pasko 2017/06/23 15:10:30 does finch config allow enabling more than one fea
hubbe 2017/06/23 18:25:52 I don't intend to drop caches in the finch experim
pasko 2017/06/26 13:32:13 Thank you. I have a few reservations about it, so
+
const char kSizeMultiplierParam[] = "SizeMultiplier";
namespace {
« no previous file with comments | « net/disk_cache/simple/simple_experiment.h ('k') | net/disk_cache/simple/simple_index.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698