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

Unified Diff: runtime/vm/flow_graph_inliner.cc

Issue 11231014: Tuned inlining parameters: (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 2 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/flow_graph_inliner.cc
===================================================================
--- runtime/vm/flow_graph_inliner.cc (revision 13836)
+++ runtime/vm/flow_graph_inliner.cc (working copy)
@@ -19,10 +19,10 @@
DEFINE_FLAG(bool, trace_inlining, false, "Trace inlining");
DEFINE_FLAG(charp, inlining_filter, NULL, "Inline only in named function");
-DEFINE_FLAG(int, inlining_size_threshold, 250,
- "Inline only functions with up to threshold instructions (default 250)");
-DEFINE_FLAG(int, inlining_depth_threshold, 1,
- "Inline recursively up to threshold depth (default 1)");
+DEFINE_FLAG(int, inlining_size_threshold, 50,
+ "Inline only functions with up to threshold instructions (default 50)");
+DEFINE_FLAG(int, inlining_depth_threshold, 3,
+ "Inline recursively up to threshold depth (default 3)");
DEFINE_FLAG(bool, inline_control_flow, true,
"Inline functions with control flow.");
DECLARE_FLAG(bool, print_flow_graph);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698