This commit is contained in:
Qing Wang
2020-10-21 22:49:00 +08:00
parent 44efb726d2
commit 15394b09bf
6 changed files with 29 additions and 33 deletions
+17 -18
View File
@@ -16,8 +16,8 @@ void test_add() {
}
{
// auto result = client.call<int>("add", 1, 2);
// std::cout << result << std::endl;
auto result = client.call<int>("add", 1, 2);
std::cout << result << std::endl;
}
{
@@ -621,21 +621,20 @@ void benchmark_test(){
}
int main() {
// benchmark_test();
test_add();
// test_connect();
// test_callback();
// test_echo();
// test_sync_client();
// test_async_client();
//test_threads();
//test_sub();
//test_call_with_timeout();
//test_connect();
//test_upload();
//test_download();
//multi_client_performance(20);
//test_performance1();
//test_multiple_thread();
benchmark_test();
test_connect();
test_callback();
test_echo();
test_sync_client();
test_async_client();
test_threads();
test_sub1();
test_call_with_timeout();
test_connect();
test_upload();
test_download();
multi_client_performance(20);
test_performance1();
test_multiple_thread();
return 0;
}