MCPcopy Index your code
hub / github.com/nodejs/node / _CallMain

Method _CallMain

deps/v8/tools/unittests/run_perf_test.py:215–223  ·  view source on GitHub ↗
(self, *args)

Source from the content-addressed store, hash-verified

213 platform.system = mock.MagicMock(return_value='Linux')
214
215 def _CallMain(self, *args):
216 self._test_output = os.path.join(TEST_WORKSPACE, 'results.json')
217 all_args=[
218 '--json-test-results',
219 self._test_output,
220 self._test_input,
221 ]
222 all_args += args
223 return run_perf.Main(all_args)
224
225 def _LoadResults(self, file_name=None):
226 with open(file_name or self._test_output) as f:

Callers 15

testOneRunMethod · 0.95
testWarmup_OnEmptyMethod · 0.95
testWarmup_NotNeededMethod · 0.95
testWarmup_NeededMethod · 0.95
testOneRunVariantsMethod · 0.95
testTwoRuns_SubRegexpMethod · 0.95
testNestedSuiteMethod · 0.95

Calls 2

MainMethod · 0.80
joinMethod · 0.45

Tested by

no test coverage detected