mirror of
https://gitee.com/xia-chu/ZLMediaKit.git
synced 2026-05-25 02:57:49 +08:00
Update README.md
This commit is contained in:
parent
d327a244b9
commit
1445b29390
@ -176,7 +176,7 @@ void RtspSession::onManager() {
|
||||
```
|
||||
## 怎么测试服务器性能?
|
||||
|
||||
ZLMediaKit提供了测试性能的示例,代码在tests/test_benchmark.cpp。由于ZLTookKit默认关闭了tcp客户端多线程的支持,如果需要提高测试并发量,需要在编译ZLToolKit时启用ENABLE_ASNC_TCP_CLIENT宏,具体操作如下:
|
||||
ZLMediaKit提供了测试性能的示例,代码在tests/test_benchmark.cpp。由于ZLToolKit默认关闭了tcp客户端多线程的支持,如果需要提高测试并发量,需要在编译ZLToolKit时启用ENABLE_ASNC_TCP_CLIENT宏,具体操作如下:
|
||||
|
||||
```
|
||||
#编译ZLToolKit
|
||||
|
||||
Loading…
Reference in New Issue
Block a user