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

Method testNormal

deps/v8/tools/unittests/run_perf_test.py:829–845  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

827 return self._LoadResults(output_json)
828
829 def testNormal(self):
830 results = self._RunPerf('d8_mocked1.py', 'test1.json')
831 self.assertListEqual([], results['errors'])
832 self.assertListEqual(sorted([
833 {
834 'units': 'score',
835 'graphs': ['test1', 'Richards'],
836 'results': [1.2, 1.2],
837 'stddev': '',
838 },
839 {
840 'units': 'score',
841 'graphs': ['test1', 'DeltaBlue'],
842 'results': [2.1, 2.1],
843 'stddev': '',
844 },
845 ], key=SORT_KEY), sorted(results['traces'], key=SORT_KEY))
846
847 def testResultsProcessor(self):
848 results = self._RunPerf('d8_mocked2.py', 'test2.json')

Callers

nothing calls this directly

Calls 2

_RunPerfMethod · 0.95
sortedFunction · 0.85

Tested by

no test coverage detected