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

Method run_perf

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

Source from the content-addressed store, hash-verified

602)
603class TestPerfProfilerWithDwarf(unittest.TestCase, TestPerfProfilerMixin):
604 def run_perf(self, script_dir, script, activate_trampoline=True):
605 if activate_trampoline:
606 return run_perf(
607 script_dir, sys.executable, "-Xperf_jit", script, use_jit=True
608 )
609 return run_perf(script_dir, sys.executable, script, use_jit=True)
610
611 def setUp(self):
612 super().setUp()

Callers

nothing calls this directly

Calls 1

run_perfFunction · 0.85

Tested by

no test coverage detected