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

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

Issue 39863003: Tune mjsunit/regress/regress-2612. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 2 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 | « test/mjsunit/mjsunit.status ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/regress/regress-2612.js
diff --git a/test/mjsunit/regress/regress-2612.js b/test/mjsunit/regress/regress-2612.js
index 06db07733d393f5327be977c56d2b764fbe1f0b1..ac6028f14ccfd955f9a0d425c2c5d6caa03ac3fb 100644
--- a/test/mjsunit/regress/regress-2612.js
+++ b/test/mjsunit/regress/regress-2612.js
@@ -57,11 +57,11 @@ function varname(i) {
var source = "var ";
-for (var i = 0; i < 1000; i++) {
+for (var i = 0; i < 750; i++) {
source += [varname(i), "=", rand(), ","].join("");
}
-for (var i = 1000; i < 100000; i++) {
+for (var i = 750; i < 3000; i++) {
source += [varname(i), "=",
varname(randi(i)), "+",
varname(randi(i)), ","].join("");
@@ -73,4 +73,3 @@ var f = new Function(source);
f();
%OptimizeFunctionOnNextCall(f);
f();
-
« no previous file with comments | « test/mjsunit/mjsunit.status ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698