Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for BenchmarkServerFakeConnNoKeepAlive (0.39 sec)

  1. src/net/http/serve_test.go

    	}
    	b.StopTimer()
    
    	// Instruct server process to stop.
    	getNoBody(url + "?stop=yes")
    	if err := <-done; err != nil {
    		b.Fatalf("subprocess failed: %v", err)
    	}
    }
    
    func BenchmarkServerFakeConnNoKeepAlive(b *testing.B) {
    	b.ReportAllocs()
    	req := reqBytes(`GET / HTTP/1.0
    Host: golang.org
    Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 202K bytes
    - Viewed (0)
Back to top