532533534535536537538539540541542
batch.getEntries().add(delete); } if (preview) { pp(maps, batch, pw); } BaseFeed response = maps.batch(client.makeUri(uid, mid, fid), batch); pp(maps, response, pw); break; // Test bulk insert latency. case bulk:
566567568569570571572573574575576
batch.getEntries().add(entry); } if (preview) { pp(maps, batch, pw); } response = maps.batch( client.makeUri(uid, mid, fid), batch); pp(maps, response, pw); System.err.println("chunk insert time: " + (System.currentTimeMillis() - t0) + "ms"); }
617618619620621622623624625626627
} n -= chunk; if (preview) { pp(maps, batch, pw); } response = maps.batch( client.makeUri(uid, mid, fid), batch); pp(maps, response, pw); System.err.println("chunk update time: " + (System.currentTimeMillis() - t0) + "ms"); }