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

Method Mean

deps/v8/tools/perf-compare.py:30–31  ·  view source on GitHub ↗
(values)

Source from the content-addressed store, hash-verified

28class Statistics:
29 @staticmethod
30 def Mean(values):
31 return float(sum(values)) / len(values)
32
33 @staticmethod
34 def Variance(values, average):

Callers 2

StandardDeviationMethod · 0.80
appendResultMethod · 0.80

Calls 1

sumFunction · 0.50

Tested by

no test coverage detected