Changeset 192663 in webkit
- Timestamp:
- Nov 19, 2015 3:14:55 PM (8 years ago)
- Location:
- trunk/LayoutTests
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r192660 r192663 1 2015-11-19 Mark Lam <mark.lam@apple.com> 2 3 js/regress/script-tests/ftl-object-sub.js needs more iterations for benchmarking. 4 https://bugs.webkit.org/show_bug.cgi?id=151411 5 6 Reviewed by Filip Pizlo. 7 8 Previously, in r192392, I reduced the test iteration count to make the layout 9 test happy and not time out. Unfortunately, this defeats the use of this test 10 for benchmarking. I've changed it to now use different iteration counts 11 depending on who is running it. run-jsc-stress-tests is fine with the higher 12 iteration count. 13 14 Since this test is slow and only meant to test the FTL, I also changed the run 15 configuration to be runFTLNoCJIT to minimize the slowness hit when running jsc 16 stress tests. 17 18 * js/regress/script-tests/ftl-object-sub.js: 19 1 20 2015-11-19 Zalan Bujtas <zalan@apple.com> 2 21 -
trunk/LayoutTests/js/regress/script-tests/ftl-object-sub.js
r192392 r192663 1 //@ run Default1 //@ runFTLNoCJIT 2 2 var o1 = { 3 3 i: 0, … … 22 22 noInline(foo); 23 23 24 for (var i = 0; i <= 10000; i++) { 24 var iterations; 25 var expectedResult; 26 if (this.window) { 27 // The layout test doesn't like too many iterations and may time out. 28 iterations = 10000; 29 expectedResult = 200020; 30 } else { 31 iterations = 100000; 32 expectedResult = 2000020; 33 } 34 35 36 for (var i = 0; i <= iterations; i++) { 25 37 o1.i = i + 2; 26 38 o2.i = i; … … 28 40 } 29 41 30 if (result != 200020)42 if (result != expectedResult) 31 43 throw "Bad result: " + result;
Note: See TracChangeset
for help on using the changeset viewer.