MCPcopy Index your code
hub / github.com/pythonprofilers/memory_profiler / items

Method items

memory_profiler.py:689–696  ·  view source on GitHub ↗

Iterate on the toplevel code blocks.

(self)

Source from the content-addressed store, hash-verified

687 )
688
689 def items(self):
690 """Iterate on the toplevel code blocks."""
691 for (filename, code, linenos) in self._toplevel:
692 measures = self[code]
693 if not measures:
694 continue # skip if no measurement
695 line_iterator = ((line, measures.get(line)) for line in linenos)
696 yield (filename, line_iterator)
697
698
699class LineProfiler(object):

Callers 8

show_resultsMethod · 0.80
show_resultsFunction · 0.80
plot_fileFunction · 0.80
flame_plotterFunction · 0.80
mouse_motion_handlerFunction · 0.80
mouse_click_handlerFunction · 0.80
function_labelsFunction · 0.80
peak_actionFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected