Commit f8baf298 by Amir Aharon

first compilation and debug Client_Test

parent f1304e87
......@@ -29,36 +29,33 @@
{
"name": "Linux",
"includePath": [
"/usr/include/c++/7.4.0",
"/usr/include/x86_64-linux-gnu/c++/7.4.0",
"/usr/include/c++/7.4.0/backward",
"/usr/lib/gcc/x86_64-linux-gnu/7.4.0/include",
"/usr/include/c++/7.5.0",
"/usr/include/x86_64-linux-gnu/c++/7.5.0",
"/usr/include/c++/7.5.0/backward",
"/usr/lib/gcc/x86_64-linux-gnu/7.5.0/include",
"/usr/local/include",
"/usr/lib/gcc/x86_64-linux-gnu/7.4.0/include-fixed",
"/usr/lib/gcc/x86_64-linux-gnu/7.5.0/include-fixed",
"/usr/include/x86_64-linux-gnu",
"/usr/include",
"/home/vscode/vcpkg/installed/x64-linux/include",
"${workspaceRoot}/../3party",
"${workspaceRoot}/src",
"/usr/include/c++/7.4.0",
"/usr/include/x86_64-linux-gnu/c++/7.4.0"
"${workspaceRoot}/3party",
"${workspaceRoot}/src"
],
"compileCommands": "./compile_commands.json",
"defines": [],
"intelliSenseMode": "${default}",
"browse": {
"path": [
"/usr/include/c++/7.4.0",
"/usr/include/x86_64-linux-gnu/c++/7.4.0",
"/usr/include/c++/7.4.0/backward",
"/usr/lib/gcc/x86_64-linux-gnu/7.4.0/include",
"/usr/include/c++/7.5.0",
"/usr/include/x86_64-linux-gnu/c++/7.5.0",
"/usr/include/c++/7.5.0/backward",
"/usr/lib/gcc/x86_64-linux-gnu/7.5.0/include",
"/usr/local/include",
"/usr/lib/gcc/x86_64-linux-gnu/7.4.0/include-fixed",
"/usr/lib/gcc/x86_64-linux-gnu/7.5.0/include-fixed",
"/usr/include/x86_64-linux-gnu",
"/usr/include",
"/home/vscode/vcpkg/installed/x64-linux/include",
"${workspaceRoot}/src",
"/usr/include/c++/7.4.0"
"${workspaceRoot}/src"
],
"limitSymbolsToIncludedHeaders": true,
"databaseFilename": ""
......
......@@ -51,13 +51,13 @@
"environment": []
},
{
"name": "C++ Client Local (GDB)",
"name": "C++ Test Client",
"type": "cppdbg",
"request": "launch",
//"preLaunchTask": "start-gdbserver",
"miDebuggerPath": "/usr/bin/gdb",
"targetArchitecture": "x64",
"program": "${workspaceRoot}/build/bin/test_MicroserviceClient",
"program": "${workspaceRoot}/build/build/bin/test_MicroserviceClient",
"args": [],
"stopAtEntry": false,
"cwd": "${workspaceRoot}",
......@@ -67,7 +67,6 @@
"name": "C++ Attach (GDB)",
"type": "cppdbg",
"request": "launch",
"launchOptionType": "Local",
"miDebuggerPath": "/usr/bin/gdb",
"targetArchitecture": "x64",
"program": "enter program name, for example ${workspaceRoot}/a.out",
......
......@@ -291,13 +291,13 @@ void testJsons()
std::string outStr;
archiverJsonLohmann.build(json1,outStr);
msrapidjson::Document rpj_Doc;
archiverRapidJson.parse(inStr, (rapidjson::Document)rpj_Doc);
archiverRapidJson.build((rapidjson::Document)rpj_Doc,outStr);
// msrapidjson::Document rpj_Doc;
// archiverRapidJson.parse(inStr, (rapidjson::Document)rpj_Doc);
// archiverRapidJson.build((rapidjson::Document)rpj_Doc,outStr);
std::cout <<" Testing " << ITERATIONS << " with map serialization json took: " << CommonUtils::measureFunc<>(testSerializations) << "msec" << '\n';
std::cout <<" Testing " << ITERATIONS << " with rapid json took: " << CommonUtils::measureFunc<>(testRapidJson) << "msec" << '\n';
// std::cout <<" Testing " << ITERATIONS << " with rapid json took: " << CommonUtils::measureFunc<>(testRapidJson) << "msec" << '\n';
if( false or not true){
}
......@@ -604,13 +604,13 @@ void test_evpp(){
int main(int argc, char *argv[])
{
//auto duration = CommonUtils::measureFunc<>(runEvppRequestsTest);
auto duration = CommonUtils::measureFunc<>(runMSClientEvppTest);
// auto duration = CommonUtils::measureFunc<>(runMSClientEvppTest);
// auto duration = CommonUtils::measureFunc<>(test_evpp);
std::cout <<" Testing " << ITERATIONS << " with map serialization json took: " << duration << "msec" << '\n';
// std::cout <<" Testing " << ITERATIONS << " with map serialization json took: " << duration << "msec" << '\n';
//runRestZmqTest();
// testCaches();
// testJsons();
testJsons();
......
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 sign in to comment