Searched defs:appendPlan (Results 1 - 1 of 1) sorted by relevance
/ropes-1.1.3/src/org/ahmadsoft/ropes/test/ |
H A D | PerformanceTest.java | 135 final int[][] appendPlan=new int[PLAN_LENGTH][2];
136 for (int j=0;j<appendPlan.length;++j) {
137 appendPlan[j][0] = PerformanceTest.random.nextInt(PerformanceTest.lenCC);
138 appendPlan[j][1] = PerformanceTest.random.nextInt(PerformanceTest.lenCC - appendPlan[j][0]);
142 for (int k=20; k<=appendPlan.length; k+=20) {
147 stats0[j] = PerformanceTest.stringAppendTest(aChristmasCarol, appendPlan, k);
148 stats1[j] = PerformanceTest.stringBufferAppendTest(aChristmasCarol, appendPlan, k);
149 stats2[j] = PerformanceTest.ropeAppendTest(aChristmasCarol, appendPlan, k);
487 private static long ropeAppendTest(final String aChristmasCarol, final int[][] appendPlan, fina argument 622 stringAppendTest(final String aChristmasCarol, final int[][] appendPlan, final int planLength) argument 638 stringBufferAppendTest(final String aChristmasCarol, final int[][] appendPlan, final int planLength) argument [all...] |
Completed in 4 milliseconds