benchmark/parallel/json_multi_import.hpp
// The task size comes from the Driver Perfomance Benchmarking Reference Doc.
The task size comes from the Driver Perfomance Benchmarking Reference Doc.
The task size comes from the Driver Perfomance Benchmarking Reference Doc .
json_multi_import(std::string dir,
                      std::uint32_t thread_num = std::thread::hardware_concurrency() * 2)
        : microbench{"TestJsonMultiImport",
                     565,
                     std::set<benchmark_type>{benchmark_type::parallel_bench,
                                              benchmark_type::write_bench}},
          _directory{std::move(dir)},
          _pool{mongocxx::uri{}},
          _thread_num{thread_num} {}
json_multi_import ( std :: string dir , std :: uint32_t thread_num = std :: thread :: hardware_concurrency ( ) * 2 ) : microbench { " " , 565 , std :: set < benchmark_type > { benchmark_type :: parallel_bench , benchmark_type :: write_bench } } , _directory { std :: move ( dir ) } , _pool { mongocxx :: uri { } } , _thread_num { thread_num } { }
The task size comes from the Driver Perfomance Benchmarking Reference Doc.
The task size comes from the Driver Perfomance Benchmarking Reference Doc .