Commit 71715327 authored by ricow@chromium.org's avatar ricow@chromium.org

Reduce number of iterations in new regression test, this times out on arm and...

Reduce number of iterations in new regression test, this times out on arm and the regression is hit with an order of magnitude less iterations.

Review URL: http://codereview.chromium.org/5963001

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@6058 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 2ba48c0a
......@@ -34,7 +34,7 @@ function testMul(a, b) {
}
}
for (var i=0; i<10000000; i++) testMul(0,0);
for (var i=0; i<1000000; i++) testMul(0,0);
assertEquals(4611686018427388000, testMul(-0x40000000, -0x40000000));
function testAdd(a, b) {
......@@ -45,7 +45,7 @@ function testAdd(a, b) {
}
}
for (var i=0; i<10000000; i++) testAdd(0,0);
for (var i=0; i<1000000; i++) testAdd(0,0);
assertEquals(-4294967296, testAdd(-0x40000000, -0x40000000));
......@@ -58,5 +58,5 @@ function testSub(a, b) {
}
}
for (var i=0; i<10000000; i++) testSub(0,0);
for (var i=0; i<1000000; i++) testSub(0,0);
assertEquals(-2147483650, testSub(-0x40000000, 1));
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