MCPcopy
hub / github.com/caddyserver/caddy / BenchmarkLoad

Function BenchmarkLoad

admin_test.go:222–226  ·  view source on GitHub ↗
(b *testing.B)

Source from the content-addressed store, hash-verified

220}
221
222func BenchmarkLoad(b *testing.B) {
223 for b.Loop() {
224 Load(testCfg, true)
225 }
226}
227
228func TestAdminHandlerErrorHandling(t *testing.T) {
229 initAdminMetrics()

Callers

nothing calls this directly

Calls 1

LoadFunction · 0.85

Tested by

no test coverage detected