fix JSON benchmark

This commit is contained in:
Alex Fabijanic 2017-09-25 16:23:13 -05:00
parent b5b8d16e5d
commit c70612a5d5

View File

@ -50,12 +50,8 @@ int main(int argc, char** argv)
return 1; return 1;
} }
} }
#ifdef PD_JSON_PARSER
std::string parser = "pdparser"; std::cout << "JSON Benchmark" << std::endl;
#elif defined(JSON_ORG_PARSER)
std::string parser = "json.org parser";
#endif
std::cout << "JSON Benchmark (" << parser << ')' << std::endl;
std::cout << "==============" << std::endl; std::cout << "==============" << std::endl;
std::string jsonStr = ostr.str(); std::string jsonStr = ostr.str();