Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/nodejs/node
/ Variance
Method
Variance
deps/v8/tools/perf-compare.py:34–35 ·
view source on GitHub ↗
(values, average)
Source
from the content-addressed store, hash-verified
32
33
@staticmethod
34
def
Variance(values, average):
35
return
map(
lambda
x: (x - average) ** 2, values)
36
37
@staticmethod
38
def
StandardDeviation(values, average):
Callers
1
StandardDeviation
Method · 0.80
Calls
1
map
Function · 0.50
Tested by
no test coverage detected