Bug 1257779 - Lower a loop-limit (number selected by some local experimentation) to avoid cgc timeouts. r=orange in a CLOSED TREE
authorJeff Walden <jwalden@mit.edu>
Wed, 23 Mar 2016 16:29:46 -0700
changeset 290148 b0f1eb9c1f386de175b3c2e06d85d9896c33353e
parent 290147 fee477cd153bac782159094148c72b9076bc5766
child 290149 7e3275233f42c2e78f4f2db796e884998eda4599
push id30114
push usercbook@mozilla.com
push dateThu, 24 Mar 2016 15:15:54 +0000
treeherdermozilla-central@24c5fbde4488 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersorange
bugs1257779
milestone48.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1257779 - Lower a loop-limit (number selected by some local experimentation) to avoid cgc timeouts. r=orange in a CLOSED TREE
js/src/tests/ecma_6/Proxy/ownkeys-linear.js
--- a/js/src/tests/ecma_6/Proxy/ownkeys-linear.js
+++ b/js/src/tests/ecma_6/Proxy/ownkeys-linear.js
@@ -9,17 +9,20 @@ var summary =
   "Scripted proxies' [[OwnPropertyKeys]] should have linear complexity";
 
 print(BUGNUMBER + ": " + summary);
 
 /**************
  * BEGIN TEST *
  **************/
 
-const HALF_COUNT = 5e4;
+// Making this 50k makes cgc builds time out on tbpl.  5k takes 28s locally.
+// 10k takes 84s locally.  So pick an intermediate number, with a generous
+// constant factor in case cgc-on-tbpl is much slower.
+const HALF_COUNT = 7500;
 
 var configurables = [];
 for (var i = 0; i < HALF_COUNT; i++)
   configurables.push("conf" + i);
 
 var nonconfigurables = [];
 for (var i = 0; i < HALF_COUNT; i++)
   nonconfigurables.push("nonconf" + i);