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

Method run_perf

Lib/test/test_perf_profiler.py:488–491  ·  view source on GitHub ↗
(self, script_dir, script, activate_trampoline=True)

Source from the content-addressed store, hash-verified

486)
487class TestPerfProfiler(unittest.TestCase, TestPerfProfilerMixin):
488 def run_perf(self, script_dir, script, activate_trampoline=True):
489 if activate_trampoline:
490 return run_perf(script_dir, sys.executable, "-Xperf", script)
491 return run_perf(script_dir, sys.executable, script)
492
493 def setUp(self):
494 super().setUp()

Callers

nothing calls this directly

Calls 1

run_perfFunction · 0.85

Tested by

no test coverage detected