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

Side by Side Diff: Source/bindings/core/v8/V8CacheOptions.h

Issue 1195763002: Cleanup: Remove experimental V8 cache strategies that we discarded. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add #if-guard for multi-CL change. Created 5 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 unified diff | Download patch
« no previous file with comments | « Source/bindings/core/v8/ScriptStreamer.cpp ('k') | Source/bindings/core/v8/V8ScriptRunner.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2014 Google Inc. All rights reserved. 2 * Copyright (C) 2014 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 17 matching lines...) Expand all
28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 */ 29 */
30 30
31 #ifndef V8CacheOptions_h 31 #ifndef V8CacheOptions_h
32 #define V8CacheOptions_h 32 #define V8CacheOptions_h
33 33
34 namespace blink { 34 namespace blink {
35 35
36 enum V8CacheOptions { 36 enum V8CacheOptions {
37 V8CacheOptionsDefault, // Use whatever the current default is. 37 V8CacheOptionsDefault, // Use whatever the current default is.
38 V8CacheOptionsNone, // V8 caching turned off.
38 V8CacheOptionsParse, // Use parser caching. 39 V8CacheOptionsParse, // Use parser caching.
39 V8CacheOptionsCode, // Use code caching. 40 V8CacheOptionsCode, // Use code caching.
40 V8CacheOptionsCodeCompressed, // Use code caching and compress the code.
41 V8CacheOptionsNone, // V8 caching turned off.
42 V8CacheOptionsParseMemory, // Use parser in-memory caching (no disk).
43 V8CacheOptionsHeuristics, // Mixed strategy: Cache code if it's a likely win .
44 V8CacheOptionsHeuristicsMobile, // As above, but tuned for mobile.
45 V8CacheOptionsHeuristicsDefault, // Cache code or default.
46 V8CacheOptionsHeuristicsDefaultMobile, // As above, but tuned for mobile.
47 V8CacheOptionsRecent, // Cache recently compiled code.
48 V8CacheOptionsRecentSmall // Cache small recently compiled code.
49 }; 41 };
50 42
51 } // namespace blink 43 } // namespace blink
52 44
53 #endif // V8CacheOptions_h 45 #endif // V8CacheOptions_h
OLDNEW
« no previous file with comments | « Source/bindings/core/v8/ScriptStreamer.cpp ('k') | Source/bindings/core/v8/V8ScriptRunner.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698