mirror of
https://github.com/TeaOSLab/EdgeNode.git
synced 2025-11-09 03:50:27 +08:00
优化代码
This commit is contained in:
@@ -61,6 +61,8 @@ func BenchmarkBytePool_Get_Sync(b *testing.B) {
|
||||
return make([]byte, 1024)
|
||||
},
|
||||
}
|
||||
|
||||
b.ReportAllocs()
|
||||
b.ResetTimer()
|
||||
|
||||
b.RunParallel(func(pb *testing.PB) {
|
||||
|
||||
Reference in New Issue
Block a user