MCPcopy Create free account
hub / github.com/devfeel/dotweb / Benchmark_AddRequestCount_Parallel

Function Benchmark_AddRequestCount_Parallel

core/state_test.go:115–122  ·  view source on GitHub ↗
(b *testing.B)

Source from the content-addressed store, hash-verified

113}
114
115func Benchmark_AddRequestCount_Parallel(b *testing.B) {
116 b.RunParallel(func(pb *testing.PB) {
117 var num uint64 = 1
118 for pb.Next() {
119 GlobalState.AddRequestCount("test", 200, num)
120 }
121 })
122}

Callers

nothing calls this directly

Calls 2

AddRequestCountMethod · 0.80
NextMethod · 0.65

Tested by

no test coverage detected