MCPcopy
hub / github.com/cloudflare/cloudflared / BenchmarkServeHTTPLargeFile

Function BenchmarkServeHTTPLargeFile

connection/http2_test.go:613–622  ·  view source on GitHub ↗
(b *testing.B)

Source from the content-addressed store, hash-verified

611}
612
613func BenchmarkServeHTTPLargeFile(b *testing.B) {
614 test := testRequest{
615 name: "large_file",
616 endpoint: "large_file",
617 expectedStatus: http.StatusOK,
618 expectedBody: testLargeResp,
619 }
620
621 benchmarkServeHTTP(b, test)
622}

Callers

nothing calls this directly

Calls 1

benchmarkServeHTTPFunction · 0.85

Tested by

no test coverage detected