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

Method ToDict

deps/v8/tools/run_perf.py:242–247  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

240 existing_entry['durations'].append(duration)
241
242 def ToDict(self):
243 return {
244 'traces': list(self.traces.values()),
245 'errors': self.errors,
246 'runnables': list(self.runnables.values()),
247 }
248
249 def WriteToFile(self, file_name):
250 with open(file_name, 'w') as f:

Callers 2

WriteToFileMethod · 0.95
__str__Method · 0.95

Calls 2

listFunction · 0.50
valuesMethod · 0.45

Tested by

no test coverage detected