mirror of
https://github.com/tiennm99/zfoo.git
synced 2026-10-23 14:15:36 +00:00
perf[protocol]: 使用模板生成协议
This commit is contained in:
1 parent
eb1f4f9935
commit
07ff2dc004
12 files changed
+64
-58
No files matched your search
@@ -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