コード例 #1
0
  public void testBasicRead() throws IOException {

    for (String filename : _files) {
      File f = copyURLToFile(String.format("/%s", filename));
      CodeTimer t = new CodeTimer("Reading " + filename);
      DeltaFileReader.readDeltaFile(f.getAbsolutePath(), null);
      t.stop(true);
    }
  }
コード例 #2
0
  public void testDeepRead() throws IOException {

    for (String filename : _files) {
      File f = copyURLToFile(String.format("/%s", filename));

      CodeTimer t = new CodeTimer("Deep Reading " + filename);
      MutableDeltaDataSet ds = DeltaFileReader.readDeltaFile(f.getAbsolutePath(), null);
      deepRead(ds);
      t.stop(true);
    }
  }