优化代码

This commit is contained in:
GoEdgeLab
2023-08-08 12:02:21 +08:00
parent 1ab328bb02
commit 72c390fba5
12 changed files with 26 additions and 19 deletions

View File

@@ -68,6 +68,7 @@ func BenchmarkBandwidthStatManager_Slice(b *testing.B) {
NodeRegionId: 1,
})
}
_ = pbStats
}
}
@@ -80,6 +81,7 @@ func BenchmarkBandwidthStatManager_Slice2(b *testing.B) {
var stat = &stats.BandwidthStat{}
statsSlice = append(statsSlice, stat)
}
_ = statsSlice
}
}