Author: scabanovich
Date: 2009-05-22 09:07:41 -0400 (Fri, 22 May 2009)
New Revision: 15405
Modified:
trunk/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/tools/seam/core/test/SeamBigProjectTest.java
Log:
JBIDE-4351
Fluctuations of spent time often make the ratio greater than 2. I think that value 5 is
still not large enough to suspect NxN behaviour, while such large fluctuations are rare.
Modified:
trunk/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/tools/seam/core/test/SeamBigProjectTest.java
===================================================================
---
trunk/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/tools/seam/core/test/SeamBigProjectTest.java 2009-05-22
12:24:43 UTC (rev 15404)
+++
trunk/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/tools/seam/core/test/SeamBigProjectTest.java 2009-05-22
13:07:41 UTC (rev 15405)
@@ -103,7 +103,7 @@
System.out.println("First 200 paths are loaded in " + t1 + "ms");
System.out.println("Last 200 paths are loaded in " + t2 + "ms");
double d = 1d * t2 / t1;
- if(d > 2d) {
+ if(d > 5d) {
fail("It takes " + d + " times longer to load path in the end "
+ "of seam model loading than in the beginning.\n"
+ "That implies that time depends as N*N on the number of components N.");