MCPcopy
hub / github.com/nats-io/nats.go / BenchmarkInboxCreation

Function BenchmarkInboxCreation

test/bench_test.go:114–118  ·  view source on GitHub ↗
(b *testing.B)

Source from the content-addressed store, hash-verified

112}
113
114func BenchmarkInboxCreation(b *testing.B) {
115 for i := 0; i < b.N; i++ {
116 nats.NewInbox()
117 }
118}
119
120func BenchmarkNewInboxCreation(b *testing.B) {
121 s := RunDefaultServer()

Callers

nothing calls this directly

Calls 1

NewInboxMethod · 0.80

Tested by

no test coverage detected