mirror of
https://github.com/tiennm99/zfoo.git
synced 2026-05-20 07:27:17 +00:00
perf[protocol]: 使用模板生成协议
This commit is contained in:
@@ -8,11 +8,17 @@ using namespace std;
|
||||
|
||||
|
||||
int main() {
|
||||
list_test::list_all_test();
|
||||
byte_buffer_test::byte_buffer_all_test();
|
||||
serialization_test::protocol_all_test();
|
||||
try {
|
||||
list_test::list_all_test();
|
||||
byte_buffer_test::byte_buffer_all_test();
|
||||
serialization_test::protocol_all_test();
|
||||
|
||||
speed_test::parseObject();
|
||||
speed_test::singleThreadBenchmarks();
|
||||
speed_test::parseObject();
|
||||
speed_test::singleThreadBenchmarks();
|
||||
} catch (string &e) {
|
||||
cout << e << endl;
|
||||
} catch (...) {
|
||||
cout << "unknown" << endl;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user