Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
114
func
BenchmarkInboxCreation(b *testing.B) {
115
for
i := 0; i < b.N; i++ {
116
nats.NewInbox()
117
}
118
}
119
120
func
BenchmarkNewInboxCreation(b *testing.B) {
121
s := RunDefaultServer()
Callers
nothing calls this directly
Calls
1
NewInbox
Method · 0.80
Tested by
no test coverage detected