@@ -1426,7 +1426,7 @@ func TestSerializeUnserializable(t *testing.T) {
1426
1426
}
1427
1427
1428
1428
func BenchmarkCacheGetExpiring (b * testing.B ) {
1429
- benchmarkCacheGet (b , 5 * time .Minute )
1429
+ benchmarkCacheGet (b , 5 * time .Minute )
1430
1430
}
1431
1431
1432
1432
func BenchmarkCacheGetNotExpiring (b * testing.B ) {
@@ -1458,7 +1458,7 @@ func BenchmarkRWMutexMapGet(b *testing.B) {
1458
1458
}
1459
1459
1460
1460
func BenchmarkCacheGetConcurrentExpiring (b * testing.B ) {
1461
- benchmarkCacheGetConcurrent (b , 5 * time .Minute )
1461
+ benchmarkCacheGetConcurrent (b , 5 * time .Minute )
1462
1462
}
1463
1463
1464
1464
func BenchmarkCacheGetConcurrentNotExpiring (b * testing.B ) {
@@ -1510,7 +1510,7 @@ func BenchmarkRWMutexMapGetConcurrent(b *testing.B) {
1510
1510
}
1511
1511
1512
1512
func BenchmarkCacheGetManyConcurrentExpiring (b * testing.B ) {
1513
- benchmarkCacheGetManyConcurrent (b , 5 * time .Minute )
1513
+ benchmarkCacheGetManyConcurrent (b , 5 * time .Minute )
1514
1514
}
1515
1515
1516
1516
func BenchmarkCacheGetManyConcurrentNotExpiring (b * testing.B ) {
@@ -1546,7 +1546,7 @@ func benchmarkCacheGetManyConcurrent(b *testing.B, exp time.Duration) {
1546
1546
}
1547
1547
1548
1548
func BenchmarkCacheSetExpiring (b * testing.B ) {
1549
- benchmarkCacheSet (b , 5 * time .Minute )
1549
+ benchmarkCacheSet (b , 5 * time .Minute )
1550
1550
}
1551
1551
1552
1552
func BenchmarkCacheSetNotExpiring (b * testing.B ) {
@@ -1636,7 +1636,7 @@ func BenchmarkIncrementInt(b *testing.B) {
1636
1636
1637
1637
func BenchmarkDeleteExpiredLoop (b * testing.B ) {
1638
1638
b .StopTimer ()
1639
- tc := New (5 * time .Minute , 0 )
1639
+ tc := New (5 * time .Minute , 0 )
1640
1640
tc .mu .Lock ()
1641
1641
for i := 0 ; i < 100000 ; i ++ {
1642
1642
tc .set (strconv .Itoa (i ), "bar" , DefaultExpiration )
0 commit comments