public class MMSortTest { final static int STEP=1000; public static void main(String[] args) { StopWatch clock=new StopWatch(); for (int len=STEP; len < STEP*50; len+=STEP){ int[] a = ArrayUtil.randomIntArray(len, 1000000); clock.start(); MyMergeSort.sort(a); clock.stop(); System.out.println(len +"\t"+clock.getElapsedTime()); clock.reset(); } } }