Commit 3297fc8d authored by Srinivasan Ramesh's avatar Srinivasan Ramesh 💬
Browse files

Comment out num operations

parent fc62eeb8
......@@ -521,10 +521,10 @@ class FetchBenchmark : public AbstractBenchmark {
, m_collection_info(config["collection"])
{
m_use_json = config.get("use-json", false).asBool();
if(!config["num-operations"]) {
throw std::runtime_error("Fetch benchmark needs a num-operations parameter");
}
m_num_fetch = config["num-operations"].asUInt64();
//if(!config["num-operations"]) {
// throw std::runtime_error("Fetch benchmark needs a num-operations parameter");
//}
m_num_fetch = 1000;//config["num-operations"].asUInt64();
}
virtual void setup() override {
......@@ -656,10 +656,10 @@ class UpdateBenchmark : public FetchBenchmark {
UpdateBenchmark(Json::Value& config, T&& ... args)
: FetchBenchmark(config, std::forward<T>(args)...)
{
if(!config["num-operations"]) {
throw std::runtime_error("Update benchmark needs a num-operations parameter");
}
m_num_updates = config["num-operations"].asUInt64();
//if(!config["num-operations"]) {
// throw std::runtime_error("Update benchmark needs a num-operations parameter");
//}
m_num_updates = 1000;//config["num-operations"].asUInt64();
}
virtual void setup() override {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment