Changeset 203978 in webkit
- Timestamp:
- Aug 1, 2016 11:45:17 AM (8 years ago)
- Location:
- trunk/PerformanceTests
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/PerformanceTests/Animometer/developer.html
r202317 r203978 46 46 <li><label><input name="display" type="radio" value="minimal" checked> Minimal</label></li> 47 47 <li><label><input name="display" type="radio" value="progress-bar"> Progress bar</label></li> 48 </ul> 49 </li> 50 <li> 51 <h3>Tiles:</h3> 52 <ul> 53 <li><label><input name="tiles" type="radio" value="big" checked> Big tiles</label></li> 54 <li><label><input name="tiles" type="radio" value="classic"> Classic tiles (512x512)</label></li> 48 55 </ul> 49 56 </li> -
trunk/PerformanceTests/Animometer/resources/debug-runner/animometer.css
r202314 r203978 351 351 } 352 352 353 body.showing-test-container.tiles-big { 354 overflow: hidden; 355 } 356 357 body.showing-test-container.tiles-classic { 358 width: 3000px; 359 height: 3000px; 360 overflow: scroll; 361 } 362 353 363 /* -------------------------------------------------------------------------- */ 354 364 /* Results Section */ -
trunk/PerformanceTests/Animometer/resources/debug-runner/animometer.js
r202318 r203978 217 217 218 218 document.body.classList.add("display-" + optionsManager.valueForOption("display")); 219 }, 220 221 updateTiles: function() 222 { 223 document.body.classList.remove("tiles-big"); 224 document.body.classList.remove("tiles-classic"); 225 226 document.body.classList.add("tiles-" + optionsManager.valueForOption("tiles")); 219 227 } 220 228 }; … … 504 512 optionsManager.updateUIFromLocalStorage(); 505 513 optionsManager.updateDisplay(); 514 optionsManager.updateTiles(); 506 515 507 516 if (benchmarkController.startBenchmarkImmediatelyIfEncoded()) … … 557 566 onBenchmarkOptionsChanged: function(event) 558 567 { 559 if (event.target.name == "controller") { 568 switch (event.target.name) { 569 case "controller": 560 570 suitesManager.updateEditsElementsState(); 561 return; 562 } 563 if (event.target.name == "display") { 571 break; 572 case "display": 564 573 optionsManager.updateDisplay(); 574 break; 575 case "tiles": 576 optionsManager.updateTiles(); 577 break; 565 578 } 566 579 }, -
trunk/PerformanceTests/Animometer/resources/runner/animometer.js
r202318 r203978 507 507 "test-interval": 30, 508 508 "display": "minimal", 509 "tiles": "big", 509 510 "controller": "ramp", 510 511 "kalman-process-error": 1, -
trunk/PerformanceTests/ChangeLog
r202689 r203978 1 2016-08-01 Said Abou-Hallawa <sabouhallawa@apple.com> 2 3 Add an option to run the MotionMark tests with classic tile size (512x512) 4 https://bugs.webkit.org/show_bug.cgi?id=160371 5 6 Reviewed by Darin Adler. 7 8 Setting the body to large size (3000x3000) and overflow to scroll forces 9 the classic tile size (512x512). This option does not affect the canvas 10 tests because the canvas is displayed on one tile regardless of its size. 11 12 * Animometer/developer.html: 13 * Animometer/resources/debug-runner/animometer.css: 14 (body.showing-test-container.tiles-big): 15 (body.showing-test-container.tiles-classic): 16 * Animometer/resources/debug-runner/animometer.js: 17 * Animometer/resources/runner/animometer.js: 18 (window.benchmarkController.startBenchmark): 19 1 20 2016-06-29 Filip Pizlo <fpizlo@apple.com> 2 21
Note: See TracChangeset
for help on using the changeset viewer.