package cmd import ( "testing" ) func BenchmarkCmd(b *testing.B) { b.ReportAllocs() //写入 for i := 0; i < b.N; i++ { b.Log(CommandID.Change_Cloth) } }