tester.get(IssueIndexer.class).index(issues);
timer.cancel();
long period = System.currentTimeMillis() - start;
long throughputPerSecond = 1000 * issues.count.get() / period;
LOGGER.info(String.format("%d issues indexed in %d ms (%d docs/second)", issues.count.get(), period, throughputPerSecond));
<BUG>benchmark.expectAround("Throughput to index issues", throughputPerSecond, 3400, Benchmark.DEFAULT_ERROR_MARGIN_PERCENTS);

tester.get(EsClient.class).prepareOptimize("issues").get();
</BUG>
long dirSize = FileUtils.sizeOfDirectory(tester.getEsServerHolder().getHomeDir());

tester.get(IssueIndexer.class).index(issues);
timer.cancel();
long period = System.currentTimeMillis() - start;
long throughputPerSecond = 1000 * issues.count.get() / period;
LOGGER.info(String.format("%d issues indexed in %d ms (%d docs/second)", issues.count.get(), period, throughputPerSecond));
benchmark.expectAround("Throughput to index issues", throughputPerSecond, 5116, Benchmark.DEFAULT_ERROR_MARGIN_PERCENTS);
tester.get(EsClient.class).prepareOptimize("issues").setWaitForMerge(true).get();
long dirSize = FileUtils.sizeOfDirectory(tester.getEsServerHolder().getHomeDir());
