MCPcopy Index your code
hub / github.com/labstack/echo / BenchmarkRateLimiterMemoryStore_1000

Function BenchmarkRateLimiterMemoryStore_1000

middleware/rate_limiter_test.go:491–494  ·  view source on GitHub ↗
(b *testing.B)

Source from the content-addressed store, hash-verified

489)
490
491func BenchmarkRateLimiterMemoryStore_1000(b *testing.B) {
492 var store = NewRateLimiterMemoryStoreWithConfig(RateLimiterMemoryStoreConfig{Rate: 100, Burst: 200, ExpiresIn: testExpiresIn})
493 benchmarkStore(store, 10, 1000, b)
494}
495
496func BenchmarkRateLimiterMemoryStore_10000(b *testing.B) {
497 var store = NewRateLimiterMemoryStoreWithConfig(RateLimiterMemoryStoreConfig{Rate: 100, Burst: 200, ExpiresIn: testExpiresIn})

Callers

nothing calls this directly

Calls 2

benchmarkStoreFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…