| org.objectweb.speedo.stress.StressHelper org.objectweb.speedo.stress.LinkedIntUserIdHelper org.objectweb.speedo.stress.TestSetObject
TestSetObject | public class TestSetObject extends LinkedIntUserIdHelper (Code) | | Stresses the write access function of Speedo.
author: M. Guillemin |
Inner Class :class SetCtx extends LIUICtx | |
Method Summary | |
public void | _testSetObjectTh100Tx100000nbW5() Tests 100.000 transactions where each of them do 5 write access on 10000 objects among 100.000 using 100 thread. | public void | _testSetObjectTh1Tx100000nbW5() Tests 100.000 transactions where each of them do 5 write access on 10 objects among 100.000 using 1 thread. | public void | _testSetObjectTh5Tx100000nbW10() Tests 100.000 transactions where each of them do 5 write access on 10 objects among 100.000 using 5 thread. | protected String | getLoggerName() | protected void | perform(Task task, int threadId, int txId, Object ctx, PerformResult res) | public void | testInteractive() Tests the read of a lot of persistent objects, with interactive
setting of test parameteres (see file userconf/project.properties). | public void | testSetObjectTh100Tx10000nbW5() Tests 10.000 transactions where each of them do 5 write access on 1000 objects among 10.000 using 100 thread. | public void | testSetObjectTh100Tx1000nbW5() Tests 1000 transactions where each of them do 5 write access on 100 objects among 1000 using 100 thread. | public void | testSetObjectTh100Tx100nbW5() Tests 100 transactions where each of them do 5 write access on 10 objects among 100 using 100 thread. | public void | testSetObjectTh1Tx10000nbW5() Tests 10.000 transactions where each of them do 5 write access on 10 objects among 10.000 using 1 thread. | public void | testSetObjectTh1Tx1000nbW5() Tests 1000 transactions where each of them do 5 write access on 10 objects among 1000 using 1 thread. | public void | testSetObjectTh1Tx100nbW5() Tests 100 transactions where each of them do 5 write access on 10 objects among 100 using 1 thread. | public void | testSetObjectTh5Tx10000nbW10() Tests 10.000 transactions where each of them do 5 write access on 10 objects among 10.000 using 5 thread. | public void | testSetObjectTh5Tx1000nbW10() Tests 1000 transactions where each of them do 10 write access on 100 objects among 1000 using 5 thread. | public void | testSetObjectTh5Tx100nbW10() Tests 100 transactions where each of them do 10 write access on 10 objects among 100 using 5 thread. |
_testSetObjectTh100Tx100000nbW5 | public void _testSetObjectTh100Tx100000nbW5()(Code) | | Tests 100.000 transactions where each of them do 5 write access on 10000 objects among 100.000 using 100 thread.
|
_testSetObjectTh1Tx100000nbW5 | public void _testSetObjectTh1Tx100000nbW5()(Code) | | Tests 100.000 transactions where each of them do 5 write access on 10 objects among 100.000 using 1 thread.
|
_testSetObjectTh5Tx100000nbW10 | public void _testSetObjectTh5Tx100000nbW10()(Code) | | Tests 100.000 transactions where each of them do 5 write access on 10 objects among 100.000 using 5 thread.
|
perform | protected void perform(Task task, int threadId, int txId, Object ctx, PerformResult res)(Code) | | |
testInteractive | public void testInteractive()(Code) | | Tests the read of a lot of persistent objects, with interactive
setting of test parameteres (see file userconf/project.properties).
|
testSetObjectTh100Tx10000nbW5 | public void testSetObjectTh100Tx10000nbW5()(Code) | | Tests 10.000 transactions where each of them do 5 write access on 1000 objects among 10.000 using 100 thread.
|
testSetObjectTh100Tx1000nbW5 | public void testSetObjectTh100Tx1000nbW5()(Code) | | Tests 1000 transactions where each of them do 5 write access on 100 objects among 1000 using 100 thread.
|
testSetObjectTh100Tx100nbW5 | public void testSetObjectTh100Tx100nbW5()(Code) | | Tests 100 transactions where each of them do 5 write access on 10 objects among 100 using 100 thread.
|
testSetObjectTh1Tx10000nbW5 | public void testSetObjectTh1Tx10000nbW5()(Code) | | Tests 10.000 transactions where each of them do 5 write access on 10 objects among 10.000 using 1 thread.
|
testSetObjectTh1Tx1000nbW5 | public void testSetObjectTh1Tx1000nbW5()(Code) | | Tests 1000 transactions where each of them do 5 write access on 10 objects among 1000 using 1 thread.
|
testSetObjectTh1Tx100nbW5 | public void testSetObjectTh1Tx100nbW5()(Code) | | Tests 100 transactions where each of them do 5 write access on 10 objects among 100 using 1 thread.
|
testSetObjectTh5Tx10000nbW10 | public void testSetObjectTh5Tx10000nbW10()(Code) | | Tests 10.000 transactions where each of them do 5 write access on 10 objects among 10.000 using 5 thread.
|
testSetObjectTh5Tx1000nbW10 | public void testSetObjectTh5Tx1000nbW10()(Code) | | Tests 1000 transactions where each of them do 10 write access on 100 objects among 1000 using 5 thread.
|
testSetObjectTh5Tx100nbW10 | public void testSetObjectTh5Tx100nbW10()(Code) | | Tests 100 transactions where each of them do 10 write access on 10 objects among 100 using 5 thread.
|
Methods inherited from org.objectweb.speedo.stress.StressHelper | protected void beginTx(PersistenceManager pm, Task task, int threadId, int txId)(Code)(Java Doc) protected void cleanup()(Code)(Java Doc) protected void closePM(PersistenceManager pm, int threadId, int txId, Task task, PerformResult res)(Code)(Java Doc) protected void commitTx(PersistenceManager pm, Task task, int threadId, int txId)(Code)(Java Doc) protected void displayMemory()(Code)(Java Doc) abstract protected String[] getClassNamesToInit()(Code)(Java Doc) protected String getLogPrefix()(Code)(Java Doc) protected PersistenceManager getPM(Task task, int threadId, int txId)(Code)(Java Doc) public Properties getPMFProperties()(Code)(Java Doc) protected int getStartId(int testid)(Code)(Java Doc) protected void initDataStructure(boolean clean) throws Exception(Code)(Java Doc) protected void logStatistic(TaskManager tm, long exectime, Object ctx)(Code)(Java Doc) protected TaskManager newTaskManager(int nbTx, int nbThread, int timeout, Object ctx)(Code)(Java Doc) protected TaskManager newTaskManager(int nbTx, int nbThread, int timeout, Object ctx)(Code)(Java Doc) protected void perform(int nbThread, int nbTx, int threadTimeout, Object ctx)(Code)(Java Doc) protected void perform(int nbThread, int nbTx, int timeout, Object ctx)(Code)(Java Doc) abstract protected void perform(Task task, int threadId, int txId, Object ctx, PerformResult res)(Code)(Java Doc) protected void prepareTask(Task task, Object ctx)(Code)(Java Doc) protected void prepareTest(TaskManager tm, Object ctx)(Code)(Java Doc) protected void rollbackOnException(PersistenceManager pm, Exception e, PerformResult res, Task task, int threadId, int txId)(Code)(Java Doc) public void setUp() throws Exception(Code)(Java Doc) protected void stopOnError(PersistenceManager pm, Throwable t, PerformResult res, Task task, int threadId, int txId)(Code)(Java Doc) public void tearDown()(Code)(Java Doc)
|
|
|