Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for benchmarkSendFile (0.32 sec)

  1. src/net/sendfile_test.go

    	}
    
    	cancel()
    }
    
    func BenchmarkSendFile(b *testing.B) {
    	if runtime.GOOS == "windows" {
    		// TODO(panjf2000): Windows has not yet implemented FileConn,
    		//		remove this when it's implemented in https://go.dev/issues/9503.
    		b.Skipf("skipping on %s", runtime.GOOS)
    	}
    
    	b.Run("file-to-tcp", func(b *testing.B) { benchmarkSendFile(b, "tcp") })
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 18:12:56 UTC 2024
    - 12.1K bytes
    - Viewed (0)
Back to top