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.expectBetween("Throughput to index issues", throughputPerSecond, 2400L, 2600L);
+ benchmark.expectBetween("Throughput to index issues", throughputPerSecond, 2500L, 3000L);
// be sure that physical files do not evolve during estimation of size
tester.get(EsClient.class).prepareOptimize("issues").get();
long nbLines = files.count.get() * LINES_PER_FILE;
long throughputPerSecond = 1000L * nbLines / period;
LOGGER.info(String.format("%d lines indexed in %d ms (%d docs/second)", nbLines, period, throughputPerSecond));
- benchmark.expectBetween("Throughput to index source lines", throughputPerSecond, 400L, 500L);
+ benchmark.expectBetween("Throughput to index source lines", throughputPerSecond, 4300L, 4600L);
// be sure that physical files do not evolve during estimation of size
tester.get(EsClient.class).prepareOptimize(SourceLineIndexDefinition.INDEX).get();