mirror of
https://github.com/pocoproject/poco.git
synced 2025-01-22 10:25:50 +01:00
fix JSON benchmark
This commit is contained in:
parent
b5b8d16e5d
commit
c70612a5d5
@ -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();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user