(b *testing.B)
| 494 | } |
| 495 | |
| 496 | func BenchmarkRateLimiterMemoryStore_10000(b *testing.B) { |
| 497 | var store = NewRateLimiterMemoryStoreWithConfig(RateLimiterMemoryStoreConfig{Rate: 100, Burst: 200, ExpiresIn: testExpiresIn}) |
| 498 | benchmarkStore(store, 10, 10000, b) |
| 499 | } |
| 500 | |
| 501 | func BenchmarkRateLimiterMemoryStore_100000(b *testing.B) { |
| 502 | var store = NewRateLimiterMemoryStoreWithConfig(RateLimiterMemoryStoreConfig{Rate: 100, Burst: 200, ExpiresIn: testExpiresIn}) |
nothing calls this directly
no test coverage detected
searching dependent graphs…