Lines Matching full:stats
1 """Print a summary of specialization stats for all files in the
2 default stats folders.
41 with Section(name, 3, f"specialization stats for {name} family"):
87 stats = collections.Counter()
94 stats[key] += value
95 return stats
97 def extract_opcode_stats(stats): argument
99 for key, value in stats.items():
237 with Section("Specialization stats", summary="specialization stats by family"):
251 def emit_call_stats(stats): argument
252 with Section("Call stats", summary="Inlined calls and frame stats"):
254 for key, value in stats.items():
258 for key, value in stats.items():
261 for key, value in stats.items():
266 def emit_object_stats(stats): argument
267 with Section("Object stats", summary="allocations, frees and dict materializatons"):
268 total = stats.get("Object new values")
270 for key, value in stats.items():
342 stats = gather_stats()
343 opcode_stats = extract_opcode_stats(stats)
349 emit_call_stats(stats)
350 emit_object_stats(stats)
352 print("Stats gathered on:", date.today())