use of com.palantir.atlasdb.performance.PerformanceResults in project atlasdb by palantir.
the class AtlasDbPerfCli method runCli.
private static void runCli(AtlasDbPerfCli cli, ChainedOptionsBuilder optBuilder) throws Exception {
optBuilder.warmupIterations(1).mode(Mode.SampleTime);
Collection<RunResult> results = new Runner(optBuilder.build()).run();
if (cli.outputFile != null) {
new PerformanceResults(results).writeToFile(new File(cli.outputFile));
}
}
Aggregations