Changeset 168732 in webkit
- Timestamp:
- May 13, 2014 2:08:10 PM (10 years ago)
- Location:
- trunk/PerformanceTests
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/PerformanceTests/ChangeLog
r168564 r168732 1 2014-05-13 Ryosuke Niwa <rniwa@webkit.org> 2 3 DYEBench should run 20 iterations in browser 4 https://bugs.webkit.org/show_bug.cgi?id=132795 5 6 Reviewed by Gavin Barraclough. 7 8 Right now, run-perf-tests runs BYEBench 4 times with different instances of DRT/WTR to get 9 a more stable time and account for differences in the runtime environment, particularly, 10 ASLR (Address Space Layout Randomization). 11 12 While we can't account for the latter effect when the benchmark is ran inside a browser, 13 we can at least run 20 iterations to get a more stable (but perhaps biased by ALSR) number. 14 15 While the sample size of 20 is statistically unsound to compute the arithmetic mean from, 16 it's MUCH better than the current sample size of 5. 17 18 * DoYouEvenBench/Full.html: 19 (benchmarkClient.iterationCount): Set the default iteration count to 20. 20 (startTest): Use benchmarkClient.iterationCount as the iteration count. 21 * DoYouEvenBench/resources/benchmark-report.js: 22 (benchmarkClient.iterationCount): Continue to use the old iteration count of 5 when ran 23 inside run-perf-tests. 24 1 25 2014-05-09 Ryosuke Niwa <rniwa@webkit.org> 2 26 -
trunk/PerformanceTests/DoYouEvenBench/Full.html
r168564 r168732 2 2 <html> 3 3 <head> 4 <title>DoYouEvenBench v0.1 0</title>4 <title>DoYouEvenBench v0.11</title> 5 5 <style type="text/css"> 6 6 caption { margin: 0; padding: 0; font-family: sans-serif; font-size: 1em; font-weight: bold; white-space: nowrap; } … … 44 44 45 45 window.benchmarkClient = { 46 iterationCount: 20, 46 47 willRunTest: function () { 47 48 if (!progress) { … … 80 81 81 82 function startTest() { 82 var iterationCount = 5;83 benchmarkClient.testsCount = iterationCount * Suites.reduce(function (testsCount, suite) { return testsCount + suite.tests.length; }, 0);83 var totalSubtestCount = Suites.reduce(function (testsCount, suite) { return testsCount + suite.tests.length; }, 0); 84 benchmarkClient.testsCount = benchmarkClient.iterationCount * totalSubtestCount; 84 85 var runner = new BenchmarkRunner(Suites, benchmarkClient); 85 runner.runMultipleIterations( iterationCount);86 runner.runMultipleIterations(benchmarkClient.iterationCount); 86 87 } 87 88 -
trunk/PerformanceTests/DoYouEvenBench/resources/benchmark-report.js
r162058 r168732 20 20 21 21 window.benchmarkClient = { 22 iterationCount: 5, // Use 4 different instances of DRT/WTR to run 5 iterations. 22 23 willStartFirstIteration: function (iterationCount) { 23 24 createTest = function (name, aggregator, isLastTest) {
Note: See TracChangeset
for help on using the changeset viewer.