"feat(socket): 添加跨域请求处理并集成enum依赖,优化TCP连接数据注入"
This commit is contained in:
14
common/socket/cmd/cmd_test.go
Normal file
14
common/socket/cmd/cmd_test.go
Normal file
@@ -0,0 +1,14 @@
|
||||
package cmd
|
||||
|
||||
import (
|
||||
"testing"
|
||||
)
|
||||
|
||||
func BenchmarkCmd(b *testing.B) {
|
||||
b.ReportAllocs()
|
||||
//写入
|
||||
for i := 0; i < b.N; i++ {
|
||||
b.Log(MessageCommandIDRegistry.Change_Cloth)
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user