use of com.mongodb.benchmark.framework.TextBasedBenchmarkResultWriter in project mongo-java-driver by mongodb.
the class GridFSMultiFileDownloadBenchmark method main.
public static void main(String[] args) throws Exception {
BenchmarkResult benchmarkResult = new BenchmarkRunner(new GridFSMultiFileDownloadBenchmark(), 20, 100).run();
new TextBasedBenchmarkResultWriter(System.out, false, true).write(benchmarkResult);
}
use of com.mongodb.benchmark.framework.TextBasedBenchmarkResultWriter in project mongo-java-driver by mongodb.
the class MultiFileExportBenchmark method main.
public static void main(String[] args) throws Exception {
BenchmarkResult benchmarkResult = new BenchmarkRunner(new MultiFileExportBenchmark(), 0, 1).run();
new TextBasedBenchmarkResultWriter(System.out).write(benchmarkResult);
}
use of com.mongodb.benchmark.framework.TextBasedBenchmarkResultWriter in project mongo-java-driver by mongodb.
the class GridFSMultiFileUploadBenchmark method main.
public static void main(String[] args) throws Exception {
BenchmarkResult benchmarkResult = new BenchmarkRunner(new GridFSMultiFileUploadBenchmark(), 4, 10).run();
new TextBasedBenchmarkResultWriter(System.out).write(benchmarkResult);
}
use of com.mongodb.benchmark.framework.TextBasedBenchmarkResultWriter in project mongo-java-driver by mongodb.
the class MultiFileImportBenchmark method main.
public static void main(String[] args) throws Exception {
BenchmarkResult benchmarkResult = new BenchmarkRunner(new MultiFileImportBenchmark(), 10, 100).run();
new TextBasedBenchmarkResultWriter(System.out, true, true).write(benchmarkResult);
}
Aggregations