Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/eapache/queue
/ BenchmarkQueueTickTock
Function
BenchmarkQueueTickTock
queue_test.go:171–178 ·
view source on GitHub ↗
(b *testing.B)
Source
from the content-addressed store, hash-verified
169
}
170
171
func
BenchmarkQueueTickTock(b *testing.B) {
172
q := New()
173
for
i := 0; i < b.N; i++ {
174
q.Add(nil)
175
q.Peek()
176
q.Remove()
177
}
178
}
Callers
nothing calls this directly
Calls
4
New
Function · 0.85
Add
Method · 0.80
Peek
Method · 0.80
Remove
Method · 0.80
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…