MCPcopy Index your code
hub / github.com/python/cpython / get_misses_counts

Method get_misses_counts

Tools/scripts/summarize_stats.py:350–355  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

348 }
349
350 def get_misses_counts(self) -> dict[str, int]:
351 return {
352 opcode: opcode_stat.get("specialization.miss", 0)
353 for opcode, opcode_stat in self._data.items()
354 if not self.is_specializable(opcode)
355 }
356
357 def get_opcode_counts(self) -> dict[str, int]:
358 counts = {}

Callers 1

calc_misses_by_tableFunction · 0.80

Calls 3

is_specializableMethod · 0.95
getMethod · 0.45
itemsMethod · 0.45

Tested by

no test coverage detected