MCPcopy 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
171func 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

NewFunction · 0.85
AddMethod · 0.80
PeekMethod · 0.80
RemoveMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…