Profiler experiments: update flag default values.
This doesn't enable the experimental profiler by default, it just tunes its behavior when it is enabled. Review URL: https://chromiumcodereview.appspot.com/9668009 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@10992 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
1d4221a4d3
commit
efee39a075
@ -177,26 +177,28 @@ DEFINE_bool(optimize_for_in, true,
|
|||||||
// Experimental profiler changes.
|
// Experimental profiler changes.
|
||||||
DEFINE_bool(experimental_profiler, false, "enable all profiler experiments")
|
DEFINE_bool(experimental_profiler, false, "enable all profiler experiments")
|
||||||
DEFINE_bool(watch_ic_patching, false, "profiler considers IC stability")
|
DEFINE_bool(watch_ic_patching, false, "profiler considers IC stability")
|
||||||
DEFINE_int(frame_count, 2, "number of stack frames inspected by the profiler")
|
DEFINE_int(frame_count, 1, "number of stack frames inspected by the profiler")
|
||||||
DEFINE_bool(self_optimization, false,
|
DEFINE_bool(self_optimization, false,
|
||||||
"primitive functions trigger their own optimization")
|
"primitive functions trigger their own optimization")
|
||||||
DEFINE_bool(direct_self_opt, false,
|
DEFINE_bool(direct_self_opt, false,
|
||||||
"call recompile stub directly when self-optimizing")
|
"call recompile stub directly when self-optimizing")
|
||||||
DEFINE_bool(retry_self_opt, true, "re-try self-optimization if it failed")
|
DEFINE_bool(retry_self_opt, false, "re-try self-optimization if it failed")
|
||||||
DEFINE_bool(count_based_interrupts, false,
|
DEFINE_bool(count_based_interrupts, false,
|
||||||
"trigger profiler ticks based on counting instead of timing")
|
"trigger profiler ticks based on counting instead of timing")
|
||||||
DEFINE_bool(interrupt_at_exit, false,
|
DEFINE_bool(interrupt_at_exit, false,
|
||||||
"insert an interrupt check at function exit")
|
"insert an interrupt check at function exit")
|
||||||
DEFINE_bool(weighted_back_edges, false,
|
DEFINE_bool(weighted_back_edges, false,
|
||||||
"weight back edges by jump distance for interrupt triggering")
|
"weight back edges by jump distance for interrupt triggering")
|
||||||
DEFINE_int(interrupt_budget, 10000,
|
DEFINE_int(interrupt_budget, 5900,
|
||||||
"execution budget before interrupt is triggered")
|
"execution budget before interrupt is triggered")
|
||||||
DEFINE_int(type_info_threshold, 0,
|
DEFINE_int(type_info_threshold, 40,
|
||||||
"percentage of ICs that must have type info to allow optimization")
|
"percentage of ICs that must have type info to allow optimization")
|
||||||
DEFINE_int(self_opt_count, 170, "call count before self-optimization")
|
DEFINE_int(self_opt_count, 130, "call count before self-optimization")
|
||||||
|
|
||||||
DEFINE_implication(experimental_profiler, watch_ic_patching)
|
DEFINE_implication(experimental_profiler, watch_ic_patching)
|
||||||
DEFINE_implication(experimental_profiler, self_optimization)
|
DEFINE_implication(experimental_profiler, self_optimization)
|
||||||
|
// Not implying direct_self_opt here because it seems to be a bad idea.
|
||||||
|
DEFINE_implication(experimental_profiler, retry_self_opt)
|
||||||
DEFINE_implication(experimental_profiler, count_based_interrupts)
|
DEFINE_implication(experimental_profiler, count_based_interrupts)
|
||||||
DEFINE_implication(experimental_profiler, interrupt_at_exit)
|
DEFINE_implication(experimental_profiler, interrupt_at_exit)
|
||||||
DEFINE_implication(experimental_profiler, weighted_back_edges)
|
DEFINE_implication(experimental_profiler, weighted_back_edges)
|
||||||
|
Loading…
Reference in New Issue
Block a user