public static void mainTransferQueue(String... args) throws Exception {

        final int runs = 20;
        final int tradeCount = 5_000_000;
        final int batchSize = 50_000;
        final int checkEvery = 1000;

        int currentCheckEvery = checkEvery;

        run(runs, tradeCount, batchSize, 10);

        for (int index=0; index< 10; index++) {
            run(runs, tradeCount, batchSize, currentCheckEvery);
            currentCheckEvery*=2;
        }
    }
public static void mainTransferQueue(String... args) throws Exception {

        final int runs = 20;
        final int tradeCount = 5_000_000;
        final int batchSize = 50_000;
        final int checkEvery = 1000;

        int currentCheckEvery = checkEvery;

        run(runs, tradeCount, batchSize, 10);

        for (int index=0; index< 10; index++) {
            run(runs, tradeCount, batchSize, currentCheckEvery);
            currentCheckEvery*=2;
        }
    }
public static void mainTransferQueue ( String ... args ) throws Exception { final int runs = 20 ; final int tradeCount = 5_000_000 ; final int batchSize = 50_000 ; final int checkEvery = 1000 ; int currentCheckEvery = checkEvery ; run ( runs , tradeCount , batchSize , 10 ) ; for ( int index = 0 ; index < 10 ; index ++ ) { run ( runs , tradeCount , batchSize , currentCheckEvery ) ; currentCheckEvery *= 2 ; } }
public static void main(String... args) throws Exception {
public static void main ( String ... args ) throws Exception {