Reviewers: Yang,

Message:
Committed patchset #1 manually as r17377 (presubmit successful).

Description:
Tune mjsunit/regress/regress-2612.

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

[email protected]

Committed: http://code.google.com/p/v8/source/detail?r=17377

Please review this at https://codereview.chromium.org/39863003/

SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge

Affected files (+2, -4 lines):
  M test/mjsunit/mjsunit.status
  M test/mjsunit/regress/regress-2612.js


Index: test/mjsunit/mjsunit.status
diff --git a/test/mjsunit/mjsunit.status b/test/mjsunit/mjsunit.status
index 5ba166f83cc2b11a1c0e9d0a3c55b24a9d612aa6..a24d6928de858146b29647eb42a77a8a12284062 100644
--- a/test/mjsunit/mjsunit.status
+++ b/test/mjsunit/mjsunit.status
@@ -52,7 +52,6 @@
   'compiler/regress-funcaller': [PASS, ['mode == debug', SKIP]],
   'regress/regress-2318': [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.
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();
-


--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to