(count int)
| 460 | } |
| 461 | |
| 462 | func generateAddressList(count int) []string { |
| 463 | addrs := make([]string, count) |
| 464 | for i := range count { |
| 465 | addrs[i] = randomString(15) |
| 466 | } |
| 467 | return addrs |
| 468 | } |
| 469 | |
| 470 | func run(wg *sync.WaitGroup, store RateLimiterStore, addrs []string, max int, b *testing.B) { |
| 471 | for i := 0; i < b.N; i++ { |
no test coverage detected
searching dependent graphs…