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

Unified Diff: test/mjsunit/regress/regress-1493017.js

Issue 40302: Make map collection test run faster in an attempt to make it pass on... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 11 years, 9 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/regress/regress-1493017.js
===================================================================
--- test/mjsunit/regress/regress-1493017.js (revision 1460)
+++ test/mjsunit/regress/regress-1493017.js (working copy)
@@ -54,8 +54,8 @@
var r = 1;
var i = 0;
var holder = new Array();
- while (i++ < 15000) {
- if (i == 14000) {
+ while (i++ < 2001) {
+ if (i == 1400) {
gc();
}
var s = r % 100000000;
@@ -66,7 +66,7 @@
obj[property_name] = a_B;
s = s / 10;
}
- if ( i % 101 == 0 ) {
+ if (i % 101 == 0) {
// Check that all object maps have no undefined properties
s = r % 100000000;
obj = new A();
@@ -76,7 +76,7 @@
}
property_name = String.fromCharCode(s % 10 + 97);
obj[property_name] = a_B;
- s = s / 10;
+ s = s / 10;
}
}
r = r * 7 % 100000000;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698