Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1807)

Unified Diff: tests/language/number_identity2_test.dart

Issue 18563006: More tests updated to optimize code (Part 2). (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tests/language/null_hashcode_optimized_vm_test.dart ('k') | tests/language/number_identity_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/number_identity2_test.dart
===================================================================
--- tests/language/number_identity2_test.dart (revision 24922)
+++ tests/language/number_identity2_test.dart (working copy)
@@ -5,11 +5,12 @@
//
// Contains test that is failing on dart2js. Merge this test with
// 'number_identity_test.dart' once fixed.
+// VMOptions=--optimization-counter-threshold=10
import "package:expect/expect.dart";
main() {
- for (int i = 0; i < 1000; i++) testNumberIdentity();
+ for (int i = 0; i < 20; i++) testNumberIdentity();
}
« no previous file with comments | « tests/language/null_hashcode_optimized_vm_test.dart ('k') | tests/language/number_identity_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698