Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for BenchmarkIPStringExpanded (0.41 sec)

  1. src/net/netip/netip_test.go

    		ip := MustParseAddr(test.ip)
    		b.Run(test.name, func(b *testing.B) {
    			b.ReportAllocs()
    			for i := 0; i < b.N; i++ {
    				sinkString = ip.String()
    			}
    		})
    	}
    }
    
    func BenchmarkIPStringExpanded(b *testing.B) {
    	for _, test := range parseBenchInputs {
    		ip := MustParseAddr(test.ip)
    		b.Run(test.name, func(b *testing.B) {
    			b.ReportAllocs()
    			for i := 0; i < b.N; i++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 17:10:01 UTC 2024
    - 54.3K bytes
    - Viewed (0)
Back to top