MCPcopy
hub / github.com/labstack/echo / BenchmarkRateLimiterMemoryStore_100000

Function BenchmarkRateLimiterMemoryStore_100000

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

Source from the content-addressed store, hash-verified

499}
500
501func BenchmarkRateLimiterMemoryStore_100000(b *testing.B) {
502 var store = NewRateLimiterMemoryStoreWithConfig(RateLimiterMemoryStoreConfig{Rate: 100, Burst: 200, ExpiresIn: testExpiresIn})
503 benchmarkStore(store, 10, 100000, b)
504}
505
506func BenchmarkRateLimiterMemoryStore_conc100_10000(b *testing.B) {
507 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…