Tune mjsunit/regress/regress-2612.

Lower the bounds to something bearable which would still timeout if we
used a quadratic algorithm.

R=yangguo@chromium.org

Review URL: https://codereview.chromium.org/39863003

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17377 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 517e15b0
...@@ -52,7 +52,6 @@ ...@@ -52,7 +52,6 @@
'compiler/regress-funcaller': [PASS, ['mode == debug', SKIP]], 'compiler/regress-funcaller': [PASS, ['mode == debug', SKIP]],
'regress/regress-2318': [PASS, ['mode == debug', SKIP]], 'regress/regress-2318': [PASS, ['mode == debug', SKIP]],
'regress/regress-create-exception': [PASS, ['mode == debug', SKIP]], 'regress/regress-create-exception': [PASS, ['mode == debug', SKIP]],
'regress/regress-2612': [PASS, ['mode == debug', SKIP]],
############################################################################## ##############################################################################
# Too slow in debug mode for GC stress mode. # Too slow in debug mode for GC stress mode.
......
...@@ -57,11 +57,11 @@ function varname(i) { ...@@ -57,11 +57,11 @@ function varname(i) {
var source = "var "; var source = "var ";
for (var i = 0; i < 1000; i++) { for (var i = 0; i < 750; i++) {
source += [varname(i), "=", rand(), ","].join(""); source += [varname(i), "=", rand(), ","].join("");
} }
for (var i = 1000; i < 100000; i++) { for (var i = 750; i < 3000; i++) {
source += [varname(i), "=", source += [varname(i), "=",
varname(randi(i)), "+", varname(randi(i)), "+",
varname(randi(i)), ","].join(""); varname(randi(i)), ","].join("");
...@@ -73,4 +73,3 @@ var f = new Function(source); ...@@ -73,4 +73,3 @@ var f = new Function(source);
f(); f();
%OptimizeFunctionOnNextCall(f); %OptimizeFunctionOnNextCall(f);
f(); f();
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment