(b *testing.B)
| 489 | ) |
| 490 | |
| 491 | func BenchmarkRateLimiterMemoryStore_1000(b *testing.B) { |
| 492 | var store = NewRateLimiterMemoryStoreWithConfig(RateLimiterMemoryStoreConfig{Rate: 100, Burst: 200, ExpiresIn: testExpiresIn}) |
| 493 | benchmarkStore(store, 10, 1000, b) |
| 494 | } |
| 495 | |
| 496 | func BenchmarkRateLimiterMemoryStore_10000(b *testing.B) { |
| 497 | var store = NewRateLimiterMemoryStoreWithConfig(RateLimiterMemoryStoreConfig{Rate: 100, Burst: 200, ExpiresIn: testExpiresIn}) |
nothing calls this directly
no test coverage detected
searching dependent graphs…