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

Unified Diff: Source/bindings/core/v8/V8CacheOptions.h

Issue 845923003: Add experimental v8 code cache options. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 11 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
Index: Source/bindings/core/v8/V8CacheOptions.h
diff --git a/Source/bindings/core/v8/V8CacheOptions.h b/Source/bindings/core/v8/V8CacheOptions.h
index 3e702232d644387715740a2aa4d4e4ad0a1f4774..7f043bb0a459db12ae8da02a74c5655584be66b3 100644
--- a/Source/bindings/core/v8/V8CacheOptions.h
+++ b/Source/bindings/core/v8/V8CacheOptions.h
@@ -41,7 +41,11 @@ enum V8CacheOptions {
V8CacheOptionsNone, // V8 caching turned off.
V8CacheOptionsParseMemory, // Use parser in-memory caching (no disk).
V8CacheOptionsHeuristics, // Mixed strategy: Cache code if it's a likely win.
- V8CacheOptionsHeuristicsMobile // As above, but tuned for mobile.
+ V8CacheOptionsHeuristicsMobile, // As above, but tuned for mobile.
+ V8CacheOptionsHeuristicsDefault, // Cache code or default.
+ V8CacheOptionsHeuristicsDefaultMobile, // As above, but tuned for mobile.
+ V8CacheOptionsRecent, // Cache recently compiled code.
+ V8CacheOptionsRecentSmall // Cache small recently compiled code.
};
} // namespace blink
« no previous file with comments | « no previous file | Source/bindings/core/v8/V8ScriptRunner.cpp » ('j') | Source/bindings/core/v8/V8ScriptRunner.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698