Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/elastic/go-elasticsearch
/ newFakeTransport
Function
newFakeTransport
elasticsearch_benchmark_test.go:57–59 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
55
}
56
57
func
newFakeTransport() *FakeTransport {
58
return
&FakeTransport{FakeResponse: &defaultResponse}
59
}
60
61
func
BenchmarkClient(b *testing.B) {
62
b.ReportAllocs()
Callers
1
BenchmarkClientAPI
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected