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

Unified Diff: runtime/vm/flow_graph_inliner.cc

Issue 3001763002: [VM-corelib] Improve performance for very big maps and sets.
Patch Set: Created 3 years, 4 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
« runtime/lib/compact_hash.dart ('K') | « runtime/lib/compact_hash.dart ('k') | 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
diff --git a/runtime/vm/flow_graph_inliner.cc b/runtime/vm/flow_graph_inliner.cc
index 8e10ce1e082e5346f70597d8ff9dc740a4a57071..4a85511f69a312e0e4553299e79c6cb5f0561653 100644
--- a/runtime/vm/flow_graph_inliner.cc
+++ b/runtime/vm/flow_graph_inliner.cc
@@ -1271,8 +1271,10 @@ class CallSiteInliner : public ValueObject {
(call_info[call_idx].ratio * 100) < FLAG_inlining_hotness) {
if (trace_inlining()) {
String& name = String::Handle(target.QualifiedUserVisibleName());
- THR_Print(" => %s (deopt count %d)\n Bailout: cold %f\n",
+ THR_Print(" => %s (deopt count %d, optimized instructions %" Pd
+ ")\n Bailout: cold %f\n",
name.ToCString(), target.deoptimization_counter(),
+ target.optimized_instruction_count(),
call_info[call_idx].ratio);
}
PRINT_INLINING_TREE("Too cold", &call_info[call_idx].caller(),
« runtime/lib/compact_hash.dart ('K') | « runtime/lib/compact_hash.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698