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

Method WriteToFile

deps/v8/tools/run_perf.py:249–251  ·  view source on GitHub ↗
(self, file_name)

Source from the content-addressed store, hash-verified

247 }
248
249 def WriteToFile(self, file_name):
250 with open(file_name, 'w') as f:
251 f.write(json.dumps(self.ToDict()))
252
253 def HasEnoughRuns(self, graph_config, confidence_level):
254 """Checks if the mean of the results for a given trace config is within

Callers 1

MainFunction · 0.95

Calls 3

ToDictMethod · 0.95
openFunction · 0.50
writeMethod · 0.45

Tested by

no test coverage detected