parquet-benchmarks/src/main/java/org/apache/parquet/benchmarks/WriteBenchmarks.java
@Benchmark
  public void write1MRowsDefaultBlockAndPageSizeSNAPPY()
          throws IOException
  {
    dataGenerator.generateData(file_1M_SNAPPY,
                               configuration,
                               PARQUET_2_0,
                               BLOCK_SIZE_DEFAULT,
                               PAGE_SIZE_DEFAULT,
                               FIXED_LEN_BYTEARRAY_SIZE,
                               SNAPPY,
                               ONE_MILLION);
  }
@Benchmark
  public void write1MRowsDefaultBlockAndPageSizeSNAPPY()
          throws IOException
  {
    dataGenerator.generateData(file_1M_SNAPPY,
                               configuration,
                               PARQUET_2_0,
                               BLOCK_SIZE_DEFAULT,
                               PAGE_SIZE_DEFAULT,
                               FIXED_LEN_BYTEARRAY_SIZE,
                               SNAPPY,
                               ONE_MILLION);
  }
@ Benchmark public void write1MRowsDefaultBlockAndPageSizeSNAPPY ( ) throws IOException { dataGenerator . generateData ( file_1M_SNAPPY , configuration , PARQUET_2_0 , BLOCK_SIZE_DEFAULT , PAGE_SIZE_DEFAULT , FIXED_LEN_BYTEARRAY_SIZE , SNAPPY , ONE_MILLION ) ; }
}
}