From 7fb61a78d4d522501c83e49c90655af9da2cdebd Mon Sep 17 00:00:00 2001 From: "svenpanne@chromium.org" Date: Thu, 24 Oct 2013 13:07:16 +0000 Subject: [PATCH] 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 --- test/mjsunit/mjsunit.status | 1 - test/mjsunit/regress/regress-2612.js | 5 ++--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/test/mjsunit/mjsunit.status b/test/mjsunit/mjsunit.status index 5ba166f..a24d692 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. diff --git a/test/mjsunit/regress/regress-2612.js b/test/mjsunit/regress/regress-2612.js index 06db077..ac6028f 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(); - -- 2.7.4