webkit
2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
|
Namespaces | |
harness | |
Functions | |
def | harness.tDist (n) |
Variables | |
list | harness.benchmarks |
dictionary | harness.modes |
int | harness.runcount = 25 |
int | harness.keepruns = 20 |
int | harness.keepfrom = runcount - keepruns |
harness.js = sys.argv[1] | |
list | harness.tDistribution |
dictionary | harness.results = {} |
dictionary | harness.bmodes = modes["*"] |
harness.res = os.popen(js + " " + benchmark + "/" + mode + ".js").read() | |
harness.time = float(re.match("Time: ([0-9]*)ms", res).group(1)) | |
dictionary | harness.sresults = {} |
dictionary | harness.totals |
harness.sresult | |
dictionary | harness.result = results[benchmark][mode] |
harness.mean = sum(result) / len(result) | |
harness.stddev | |
harness.sm = stddev / mean | |
harness.sem = stddev / math.sqrt(len(result)) | |
harness.semm = sem / mean | |
def | harness.ci = tDist(len(result)) * sem |
def | harness.cim = ci / mean |
int | harness.power = 1 / totals["runs"] |