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

Method prepare

deps/v8/tools/generate-runtime-call-stats.py:287–293  ·  view source on GitHub ↗
(self, stdev=False)

Source from the content-addressed store, hash-verified

285 self.durations[run] = duration
286
287 def prepare(self, stdev=False):
288 if len(self.durations) > 1:
289 self.mean_duration = statistics.mean(self.durations)
290 self.mean_count = statistics.mean(self.counts)
291 if stdev:
292 self.stdev_duration = statistics.stdev(self.durations)
293 self.stdev_count = statistics.stdev(self.counts)
294
295 def as_list(self):
296 l = [self.name]

Callers 5

#getManifestMethod · 0.45
execMethod · 0.45
prepareMethod · 0.45
mainFunction · 0.45
constructorMethod · 0.45

Calls 1

meanMethod · 0.80

Tested by

no test coverage detected