Index: tests/lib/typed_data/float32x4_unbox_regress_test.dart |
=================================================================== |
--- tests/lib/typed_data/float32x4_unbox_regress_test.dart (revision 25189) |
+++ tests/lib/typed_data/float32x4_unbox_regress_test.dart (working copy) |
@@ -1,7 +1,7 @@ |
// Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
// for details. All rights reserved. Use of this source code is governed by a |
// BSD-style license that can be found in the LICENSE file. |
-// VMOptions=--deoptimization_counter_threshold=1000 |
+// VMOptions=--deoptimization_counter_threshold=1000 --optimization-counter-threshold=10 |
// Library tag to be able to run in html test framework. |
library float32x4_unbox_regress_test; |
@@ -18,7 +18,7 @@ |
var value = new Float32x4(1.0, 2.0, 3.0, 4.0); |
var smi = 12; |
list = new Float32x4List(8); |
- for (int i = 0; i < 3000; i++) { |
+ for (int i = 0; i < 20; i++) { |
testListStore(list, 0, value); |
} |
@@ -41,7 +41,7 @@ |
var a = new Float32x4(1.0, 2.0, 3.0, 4.0); |
var b = new Float32x4(2.0, 3.0, 4.0, 5.0); |
var smi = 12; |
- for (int i = 0; i < 3000; i++) { |
+ for (int i = 0; i < 20; i++) { |
testAdd(a, b); |
} |
@@ -59,7 +59,7 @@ |
void testGetDeopt() { |
var a = new Float32x4(1.0, 2.0, 3.0, 4.0); |
var smi = 12; |
- for (int i = 0; i < 3000; i++) { |
+ for (int i = 0; i < 20; i++) { |
testGet(a); |
} |
@@ -68,7 +68,7 @@ |
} catch (_) { |
} |
- for (int i = 0; i < 3000; i++) { |
+ for (int i = 0; i < 20; i++) { |
testGet(a); |
} |
} |
@@ -86,7 +86,7 @@ |
var b = new Float32x4(1.0, 2.1, 3.1, 4.0); |
var smi = 12; |
- for (int i = 0; i < 2000; i++) { |
+ for (int i = 0; i < 20; i++) { |
testComparison(a, b); |
} |
@@ -95,7 +95,7 @@ |
} catch (_) { |
} |
- for (int i = 0; i < 2000; i++) { |
+ for (int i = 0; i < 20; i++) { |
testComparison(a, b); |
} |
@@ -104,7 +104,7 @@ |
} catch (_) { |
} |
- for (int i = 0; i < 2000; i++) { |
+ for (int i = 0; i < 20; i++) { |
testComparison(a, b); |
} |
} |