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

Method dump_stats

Lib/profile.py:402–405  ·  view source on GitHub ↗
(self, file)

Source from the content-addressed store, hash-verified

400 pstats.Stats(self).strip_dirs().sort_stats(*sort).print_stats()
401
402 def dump_stats(self, file):
403 with open(file, 'wb') as f:
404 self.create_stats()
405 marshal.dump(self.stats, f)
406
407 def create_stats(self):
408 self.simulate_cmd_complete()

Callers 1

_showMethod · 0.45

Calls 3

create_statsMethod · 0.95
openFunction · 0.70
dumpMethod · 0.45

Tested by

no test coverage detected