Reviewers: mvstanton,

Description:
Tame mjsunit/fast-literal after fixing allocations.

Not that allocations go through Heap::AllocateRaw and actually respect
the allocation timeout, the runtime of this test spiked. This adjusts
the limit to sane values now that the values are actually respected.

[email protected]
TEST=mjsunit/fast-literal

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

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

Affected files (+2, -2 lines):
  M test/mjsunit/fast-literal.js


Index: test/mjsunit/fast-literal.js
diff --git a/test/mjsunit/fast-literal.js b/test/mjsunit/fast-literal.js
index 822d90656b05948c495ca5e404f5b480fbf6bb7e..8e53244e52906f59cc0c81138696bc3cb6436feb 100644
--- a/test/mjsunit/fast-literal.js
+++ b/test/mjsunit/fast-literal.js
@@ -27,14 +27,14 @@

 // Flags: --allow-natives-syntax --no-inline-new --nouse-allocation-folding

-%SetAllocationTimeout(10, 0);
+%SetAllocationTimeout(20, 0);
 function f() {
   return [[1, 2, 3], [1.1, 1.2, 1.3], [[], [], []]];
 }

 f(); f(); f();
 %OptimizeFunctionOnNextCall(f);
-for (var i=0; i<1000; i++) {
+for (var i=0; i<50; i++) {
   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