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

Function BenchmarkRateLimiterMemoryStore_10000

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

Source from the content-addressed store, hash-verified

494}
495
496func BenchmarkRateLimiterMemoryStore_10000(b *testing.B) {
497 var store = NewRateLimiterMemoryStoreWithConfig(RateLimiterMemoryStoreConfig{Rate: 100, Burst: 200, ExpiresIn: testExpiresIn})
498 benchmarkStore(store, 10, 10000, b)
499}
500
501func BenchmarkRateLimiterMemoryStore_100000(b *testing.B) {
502 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…