mirror of
https://github.com/TeaOSLab/EdgeNode.git
synced 2025-12-11 04:34:02 +08:00
优化代码
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user