You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@manifoldcf.apache.org by kw...@apache.org on 2011/12/18 20:37:39 UTC
svn commit: r1220519 -
/incubator/lcf/branches/CONNECTORS-286/warthog/src/test/java/org/apache/warthog/tests/MultiThreadTest.java
Author: kwright
Date: Sun Dec 18 19:37:39 2011
New Revision: 1220519
URL: http://svn.apache.org/viewvc?rev=1220519&view=rev
Log:
Try a number of threads between 1 and 8 so we can plot the curve.
Modified:
incubator/lcf/branches/CONNECTORS-286/warthog/src/test/java/org/apache/warthog/tests/MultiThreadTest.java
Modified: incubator/lcf/branches/CONNECTORS-286/warthog/src/test/java/org/apache/warthog/tests/MultiThreadTest.java
URL: http://svn.apache.org/viewvc/incubator/lcf/branches/CONNECTORS-286/warthog/src/test/java/org/apache/warthog/tests/MultiThreadTest.java?rev=1220519&r1=1220518&r2=1220519&view=diff
==============================================================================
--- incubator/lcf/branches/CONNECTORS-286/warthog/src/test/java/org/apache/warthog/tests/MultiThreadTest.java (original)
+++ incubator/lcf/branches/CONNECTORS-286/warthog/src/test/java/org/apache/warthog/tests/MultiThreadTest.java Sun Dec 18 19:37:39 2011
@@ -31,14 +31,63 @@ public class MultiThreadTest
{
@Test
- public void singleThreadBaselineTest()
+ public void oneThreadTest()
throws Exception
{
doWrites(1);
}
+
+ @Test
+ public void twoThreadTest()
+ throws Exception
+ {
+ doWrites(2);
+ }
+
+ @Test
+ public void threeThreadTest()
+ throws Exception
+ {
+ doWrites(3);
+ }
+
+ @Test
+ public void fourThreadTest()
+ throws Exception
+ {
+ doWrites(4);
+ }
+
+ @Test
+ public void fiveThreadTest()
+ throws Exception
+ {
+ doWrites(5);
+ }
@Test
- public void writeOnlyTest()
+ public void sixThreadTest()
+ throws Exception
+ {
+ doWrites(6);
+ }
+
+ @Test
+ public void sevenThreadTest()
+ throws Exception
+ {
+ doWrites(7);
+ }
+
+ @Test
+ public void eightThreadTest()
+ throws Exception
+ {
+ doWrites(8);
+ }
+
+ @Test
+ public void manyThreadTest()
throws Exception
{
doWrites(24);