- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 43 for benchmarking (0.19 sec)
-
src/net/textproto/reader.go
} strs = make([]string, hint) } m := make(MIMEHeader, hint) // Account for 400 bytes of overhead for the MIMEHeader, plus 200 bytes per entry. // Benchmarking map creation as of go1.20, a one-entry MIMEHeader is 416 bytes and large // MIMEHeaders average about 200 bytes per entry. maxMemory -= 400 const mapEntryOverhead = 200
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 19:57:43 UTC 2024 - 22.1K bytes - Viewed (0) -
src/net/dial_test.go
} } // Define a pair of blackholed (IPv4, IPv6) addresses, for which dialTCP is // expected to hang until the timeout elapses. These addresses are reserved // for benchmarking by RFC 6890. const ( slowDst4 = "198.18.0.254" slowDst6 = "2001:2::254" ) // In some environments, the slow IPs may be explicitly unreachable, and fail
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Feb 20 06:04:31 UTC 2024 - 30.3K bytes - Viewed (0) -
pilot/pkg/serviceregistry/serviceentry/controller.go
// address field if the hostname is not a wildcard, or when resolution // is not NONE. The IPs are allocated from the reserved Class E subnet // (240.240.0.0/16) that is not reachable outside the pod or reserved // Benchmarking IP range (2001:2::/48) in RFC5180. When DNS // capture is enabled, Envoy will resolve the DNS to these IPs. The // listeners for TCP services will also be set up on these IPs. The
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 29 15:31:09 UTC 2024 - 36.8K bytes - Viewed (0) -
src/math/bits/bits_test.go
// of the benchmarks to ensure side-effect free calls // are not optimized away. var Input uint64 = DeBruijn64 // Exported (global) variable to store function results // during benchmarking to ensure side-effect free calls // are not optimized away. var Output int func BenchmarkLeadingZeros(b *testing.B) { var s int for i := 0; i < b.N; i++ { s += LeadingZeros(uint(Input) >> (uint(i) % UintSize))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 22 20:11:06 UTC 2020 - 32.5K bytes - Viewed (0) -
pilot/pkg/model/service.go
// AutoAllocatedIPv4Address and AutoAllocatedIPv6Address specifies // the automatically allocated IPv4/IPv6 address out of the reserved // Class E subnet (240.240.0.0/16) or reserved Benchmarking IP range // (2001:2::/48) in RFC5180.for service entries with non-wildcard // hostnames. The IPs assigned to services are not // synchronized across istiod replicas as the DNS resolution
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 29 02:03:58 UTC 2024 - 46.3K bytes - Viewed (0) -
src/runtime/metrics_test.go
latencies = append(latencies, time.Since(start)) } // Make sure to stop the timer before we wait! The load created above // is very heavy-weight and not easy to stop, so we could end up // confusing the benchmarking framework for small b.N. b.StopTimer() stop() // Disable the default */op metrics. // ns/op doesn't mean anything because it's an average, but we
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 17:52:17 UTC 2024 - 45K bytes - Viewed (0) -
src/cmd/cgo/internal/test/test.go
// #cgo noescape handleGoStringPointerNoescape void handleGoStringPointerNoescape(void *s) {} void handleGoStringPointerEscape(void *s) {} // Following mimics vulkan complex definitions for benchmarking cgocheck overhead. typedef uint32_t VkFlags; typedef VkFlags VkDeviceQueueCreateFlags; typedef uint32_t VkStructureType; typedef struct VkDeviceQueueCreateInfo { VkStructureType sType;
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 15:50:06 UTC 2024 - 48.5K bytes - Viewed (0) -
src/math/cmplx/cmath_test.go
} } func BenchmarkRect(b *testing.B) { for i := 0; i < b.N; i++ { Rect(2.5, 1.5) } } func BenchmarkSin(b *testing.B) { for i := 0; i < b.N; i++ { Sin(complex(2.5, 3.5)) } } func BenchmarkSinh(b *testing.B) { for i := 0; i < b.N; i++ { Sinh(complex(2.5, 3.5)) } } func BenchmarkSqrt(b *testing.B) { for i := 0; i < b.N; i++ {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 01 03:16:37 UTC 2020 - 48.1K bytes - Viewed (0) -
pkg/log/scope_test.go
// for now, we just make sure this doesn't crash. To be totally correct, we'd need to capture stderr and // inspect it, but it's just not worth it defaultScope.Error("TestBadWriter") } func BenchmarkLog(b *testing.B) { run := func(name string, f func()) { b.Run(name, func(b *testing.B) { o := testOptions() o.OutputPaths = []string{"/dev/null"} if err := Configure(o); err != nil {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jan 03 17:36:09 UTC 2024 - 11K bytes - Viewed (0) -
src/crypto/ecdsa/ecdsa_test.go
{"P384", elliptic.P384()}, {"P521", elliptic.P521()}, } for _, test := range tests { curve := test.curve b.Run(test.name, func(b *testing.B) { f(b, curve) }) } } func BenchmarkSign(b *testing.B) { benchmarkAllCurves(b, func(b *testing.B, curve elliptic.Curve) { r := bufio.NewReaderSize(rand.Reader, 1<<15) priv, err := GenerateKey(curve, r) if err != nil { b.Fatal(err) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 26 21:33:58 UTC 2024 - 13.5K bytes - Viewed (0)