mirror of
https://github.com/smallmain/cocos-enhance-kit.git
synced 2025-04-14 14:51:06 +00:00
修复 WebSocket 性能数据错误
This commit is contained in:
parent
ae5bbae81d
commit
07447c1745
docs/versioned_docs/version-2.4.0/user-guide/multithread
Binary file not shown.
After ![]() (image error) Size: 81 KiB |
Binary file not shown.
After ![]() (image error) Size: 92 KiB |
@ -13,13 +13,13 @@ description: "在多线程中使用 WebSocket。"
|
||||
|
||||
下面是在 Android 设备上,在优化前对游戏帧耗时的分析图:
|
||||
|
||||

|
||||

|
||||
|
||||
下面是优化后:
|
||||
|
||||

|
||||

|
||||
|
||||
可以看到网络请求的耗时从 ms 降低至 ms。
|
||||
可以看到网络请求的耗时从 5.8ms 降低至 0.7ms。
|
||||
|
||||
:::caution 注意
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user