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

Unified Diff: src/flag-definitions.h

Issue 10990076: Short term JSON eval cache Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 8 years, 3 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 | « src/compiler.cc ('k') | src/objects.h » ('j') | src/v8.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/flag-definitions.h
===================================================================
--- src/flag-definitions.h (revision 12582)
+++ src/flag-definitions.h (working copy)
@@ -228,6 +228,13 @@
DEFINE_int(parallel_recompilation_queue_length, 2,
"the length of the parallel compilation queue")
+DEFINE_bool(json_eval_cache, true,
+ "prioritize compiled JSON strings passed to eval")
+DEFINE_int(json_eval_cache_max_entries, 32,
+ "maximum entries in prioritized eval cache")
+DEFINE_int(json_eval_cache_max_size, 512*KB,
+ "maximum total code size in prioritized eval cache")
+
// Experimental profiler changes.
DEFINE_bool(experimental_profiler, true, "enable all profiler experiments")
DEFINE_bool(watch_ic_patching, false, "profiler considers IC stability")
« no previous file with comments | « src/compiler.cc ('k') | src/objects.h » ('j') | src/v8.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698