We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6c5f4e0 commit c8f440eCopy full SHA for c8f440e
internal/utils/expires/list_test.go
@@ -206,6 +206,7 @@ func TestList_Map_Performance(t *testing.T) {
206
207
func BenchmarkList_Add(b *testing.B) {
208
var list = expires.NewList()
209
+ b.ResetTimer()
210
b.RunParallel(func(pb *testing.PB) {
211
for pb.Next() {
212
list.Add(rand.Uint64(), fasttime.Now().Unix()+int64(rand.Int()%10_000_000))
0 commit comments