grpc-gcp-benchmarks/src/main/java/com/google/grpc/gcp/SpannerClientTestCases.java [163:181]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  private void updateDataOneThread(DatabaseClient db, int thread, List<Long> result) {
    for (int i = 1; i <= numOfRpcs; i++) {
      List<Mutation> mutations = new ArrayList<>();
      mutations.add(
          Mutation.newUpdateBuilder("LARGE_TABLE")
              .set("id")
              .to("SpannerClient-rpc" + i + "thread" + thread)
              .set("data")
              .to(colContent)
              .set("rpc")
              .to(i)
              .build());
      long start = System.currentTimeMillis();
      db.write(mutations);
      if (result != null) {
        result.add(System.currentTimeMillis() - start);
      }
    }
  }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



grpc-gcp-benchmarks/src/main/SpannerClientTestCases.java [160:178]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  private void updateDataOneThread(DatabaseClient db, int thread, List<Long> result) {
    for (int i = 1; i <= numOfRpcs; i++) {
      List<Mutation> mutations = new ArrayList<>();
      mutations.add(
          Mutation.newUpdateBuilder("LARGE_TABLE")
              .set("id")
              .to("SpannerClient-rpc" + i + "thread" + thread)
              .set("data")
              .to(colContent)
              .set("rpc")
              .to(i)
              .build());
      long start = System.currentTimeMillis();
      db.write(mutations);
      if (result != null) {
        result.add(System.currentTimeMillis() - start);
      }
    }
  }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



grpc-gcp-benchmarks/src/benchmarkTest/java/SpannerClientTestCases.java [183:201]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  private void updateDataOneThread(DatabaseClient db, int thread, List<Long> result) {
    for (int i = 1; i <= numOfRpcs; i++) {
      List<Mutation> mutations = new ArrayList<>();
      mutations.add(
          Mutation.newUpdateBuilder("LARGE_TABLE")
              .set("id")
              .to("SpannerClient-rpc" + i + "thread" + thread)
              .set("data")
              .to(colContent)
              .set("rpc")
              .to(i)
              .build());
      long start = System.currentTimeMillis();
      db.write(mutations);
      if (result != null) {
        result.add(System.currentTimeMillis() - start);
      }
    }
  }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



