summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2006-04-30 01:49:02 (EDT)
committerEike Stepper2006-04-30 01:49:02 (EDT)
commit2b181d5f260a5bca84e6835d397cc8f8aafc8d6c (patch)
tree6d6da22c07c172d2c7685ce55a68347cc0c32576
parent52355dabb4ae506aa24b12eec5fa8894512dbbe2 (diff)
downloadcdo-2b181d5f260a5bca84e6835d397cc8f8aafc8d6c.zip
cdo-2b181d5f260a5bca84e6835d397cc8f8aafc8d6c.tar.gz
cdo-2b181d5f260a5bca84e6835d397cc8f8aafc8d6c.tar.bz2
*** empty log message ***
-rw-r--r--plugins/org.eclipse.net4j.tests/src/org/eclipse/net4j/tests/SocketTest.java34
1 files changed, 17 insertions, 17 deletions
diff --git a/plugins/org.eclipse.net4j.tests/src/org/eclipse/net4j/tests/SocketTest.java b/plugins/org.eclipse.net4j.tests/src/org/eclipse/net4j/tests/SocketTest.java
index b23e47a..700b005 100644
--- a/plugins/org.eclipse.net4j.tests/src/org/eclipse/net4j/tests/SocketTest.java
+++ b/plugins/org.eclipse.net4j.tests/src/org/eclipse/net4j/tests/SocketTest.java
@@ -265,22 +265,22 @@ public class SocketTest extends TestCase
public final void testEmbedded() throws Exception
{
- serverContainer = new TestContainer.Embedded();
- Connector connector = serverContainer.getConnector();
- Channel channel = connector.addChannel(Net4jTestProtocol.PROTOCOL_NAME);
-
- double total = 0.0;
- for (int i = 1; i <= 1000; i++)
- {
- long t0 = System.nanoTime();
- echo(channel, VALUES);
- long t1 = System.nanoTime();
-
- double duration = t1 - t0;
- total += duration;
- System.out.println("Run " + i + ": " + (duration / 1000000d));
- }
-
- System.out.println("Average: " + (total / 1000000000d) + " millisec");
+ // serverContainer = new TestContainer.Embedded();
+ // Connector connector = serverContainer.getConnector();
+ // Channel channel = connector.addChannel(Net4jTestProtocol.PROTOCOL_NAME);
+ //
+ // double total = 0.0;
+ // for (int i = 1; i <= 1000; i++)
+ // {
+ // long t0 = System.nanoTime();
+ // echo(channel, VALUES);
+ // long t1 = System.nanoTime();
+ //
+ // double duration = t1 - t0;
+ // total += duration;
+ // System.out.println("Run " + i + ": " + (duration / 1000000d));
+ // }
+ //
+ // System.out.println("Average: " + (total / 1000000000d) + " millisec");
}
}