MCPcopy Create free account
hub / github.com/nodejs/node / _RunPerf

Method _RunPerf

deps/v8/tools/unittests/run_perf_test.py:818–827  ·  view source on GitHub ↗
(self, mocked_d8, test_json)

Source from the content-addressed store, hash-verified

816 ### System tests
817
818 def _RunPerf(self, mocked_d8, test_json):
819 output_json = os.path.join(TEST_WORKSPACE, 'output.json')
820 args = [
821 os.sys.executable, RUN_PERF,
822 '--binary-override-path', os.path.join(TEST_DATA, mocked_d8),
823 '--json-test-results', output_json,
824 os.path.join(TEST_DATA, test_json),
825 ]
826 subprocess.check_output(args)
827 return self._LoadResults(output_json)
828
829 def testNormal(self):
830 results = self._RunPerf('d8_mocked1.py', 'test1.json')

Callers 3

testNormalMethod · 0.95
testResultsProcessorMethod · 0.95

Calls 2

_LoadResultsMethod · 0.95
joinMethod · 0.45

Tested by

no test coverage detected