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

File memory_profiler.py

memory_profiler.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1"""Profile the memory usage of a Python program"""
2
3# .. we'll use this to pass it to the child script ..
4_CLEAN_GLOBALS = globals().copy()

Callers

nothing calls this directly

Calls 8

LineProfilerClass · 0.90
show_resultsFunction · 0.90
choose_backendFunction · 0.85
TimeStamperClass · 0.85
_find_scriptFunction · 0.85
exec_with_profilerFunction · 0.85
run_module_with_profilerFunction · 0.85
show_resultsMethod · 0.80

Tested by

no test coverage detected