MCPcopy Index your code
hub / github.com/bradfitz/gomemcache / BenchmarkPickServer

Function BenchmarkPickServer

memcache/selector_test.go:21–24  ·  view source on GitHub ↗
(b *testing.B)

Source from the content-addressed store, hash-verified

19import "testing"
20
21func BenchmarkPickServer(b *testing.B) {
22 // at least two to avoid 0 and 1 special cases:
23 benchPickServer(b, "127.0.0.1:1234", "127.0.0.1:1235")
24}
25
26func BenchmarkPickServer_Single(b *testing.B) {
27 benchPickServer(b, "127.0.0.1:1234")

Callers

nothing calls this directly

Calls 1

benchPickServerFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…