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

Method ComputeZ

deps/v8/tools/perf-compare.py:42–45  ·  view source on GitHub ↗
(baseline_avg, baseline_sigma, mean, n)

Source from the content-addressed store, hash-verified

40
41 @staticmethod
42 def ComputeZ(baseline_avg, baseline_sigma, mean, n):
43 if baseline_sigma == 0:
44 return 1000.0;
45 return abs((mean - baseline_avg) / (baseline_sigma / math.sqrt(n)))
46
47 # Values from http://www.fourmilab.ch/rpkp/experiments/analysis/zCalc.html
48 @staticmethod

Callers 1

CompareMethod · 0.80

Calls 1

absFunction · 0.50

Tested by

no test coverage detected