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

Side by Side 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 unified diff | Download patch
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 23 matching lines...) Expand all
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 V8CacheOptionsParse, // Use parser caching. 38 V8CacheOptionsParse, // Use parser caching.
39 V8CacheOptionsCode, // Use code caching. 39 V8CacheOptionsCode, // Use code caching.
40 V8CacheOptionsCodeCompressed, // Use code caching and compress the code. 40 V8CacheOptionsCodeCompressed, // Use code caching and compress the code.
41 V8CacheOptionsNone, // V8 caching turned off. 41 V8CacheOptionsNone, // V8 caching turned off.
42 V8CacheOptionsParseMemory, // Use parser in-memory caching (no disk). 42 V8CacheOptionsParseMemory, // Use parser in-memory caching (no disk).
43 V8CacheOptionsHeuristics, // Mixed strategy: Cache code if it's a likely win . 43 V8CacheOptionsHeuristics, // Mixed strategy: Cache code if it's a likely win .
44 V8CacheOptionsHeuristicsMobile // As above, but tuned for mobile. 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.
45 }; 49 };
46 50
47 } // namespace blink 51 } // namespace blink
48 52
49 #endif // V8CacheOptions_h 53 #endif // V8CacheOptions_h
OLDNEW
« 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