diff options
author | mbelshe@chromium.org <mbelshe@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-19 19:58:53 +0000 |
---|---|---|
committer | mbelshe@chromium.org <mbelshe@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-19 19:58:53 +0000 |
commit | 10d0b23d89dd21d2ca219c19c5d9bd93901f80d4 (patch) | |
tree | f9214ecf614e2c1f2910c71b7fbe7f039eb3d55a /chrome/common | |
parent | 6cf0d9c721922df13ead5b6b43192e82a53fe42a (diff) | |
download | chromium_src-10d0b23d89dd21d2ca219c19c5d9bd93901f80d4.zip chromium_src-10d0b23d89dd21d2ca219c19c5d9bd93901f80d4.tar.gz chromium_src-10d0b23d89dd21d2ca219c19c5d9bd93901f80d4.tar.bz2 |
Add 95%-tile confidence intervals to the benchmark.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/1142001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42138 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common')
-rw-r--r-- | chrome/common/extensions/docs/examples/extensions/benchmark/options.html | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/chrome/common/extensions/docs/examples/extensions/benchmark/options.html b/chrome/common/extensions/docs/examples/extensions/benchmark/options.html index ef7e957..057dfad7 100644 --- a/chrome/common/extensions/docs/examples/extensions/benchmark/options.html +++ b/chrome/common/extensions/docs/examples/extensions/benchmark/options.html @@ -145,6 +145,10 @@ function computeDisplayResults(data) { var resultList = obj.totalResults; obj.mean = Array.avg(resultList); obj.stddev = Array.stddev(resultList); + obj.stderr = obj.stddev / Math.sqrt(obj.iterations); + var ci = 1.96 * obj.stderr; + obj.cihigh = obj.mean + ci; + obj.cilow = obj.mean - ci; obj.min = Array.min(resultList); obj.max = Array.max(resultList); obj.readbps = obj.bytesRead * 8 / obj.totalTime; @@ -391,6 +395,9 @@ Use New Tabs Per Page?<input id="newtabs" type="checkbox"> <th width=50>paint mean</th> <th width=50>total mean</th> <th width=50>stddev</th> + <th width=50>stderr</th> + <th width=50>95% CI-low</th> + <th width=50>95% CI-high</th> <th width=50>min</th> <th width=50>max</th> <th width=50># Requests</th> @@ -433,6 +440,9 @@ Use New Tabs Per Page?<input id="newtabs" type="checkbox"> <td class="avg" jseval="val = paintMean.toFixed(1)" jscontent="val"></td> <td class="avg" jseval="val = mean.toFixed(1)" jscontent="val"></td> <td class="avg" jseval="val = stddev.toFixed(1)" jscontent="val"></td> + <td class="avg" jseval="val = stderr.toFixed(1)" jscontent="val"></td> + <td class="avg" jseval="val = cilow.toFixed(1)" jscontent="val"></td> + <td class="avg" jseval="val = cihigh.toFixed(1)" jscontent="val"></td> <td class="avg" jseval="val = min.toFixed(1)" jscontent="val"></td> <td class="avg" jseval="val = max.toFixed(1)" jscontent="val"></td> <td class="avg" jseval="val = displayRequests" jscontent="val"></td> |