- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 23 for benchmarking (0.17 sec)
-
staging/src/k8s.io/apiserver/pkg/storage/etcd3/store_test.go
if !ok { return nil, nil, fmt.Errorf("not a pod") } return pod.ObjectMeta.Labels, fields.Set{ "metadata.name": pod.Name, }, nil }, } // now we start benchmarking b.ResetTimer() for i := 0; i < b.N; i++ { list := tc.newListObjectFunc() if err := store.GetList(ctx, dir, storage.ListOptions{Predicate: pred, Recursive: true}, list); err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 11 12:45:33 UTC 2024 - 26.5K bytes - Viewed (0) -
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) -
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) -
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/net/netip/netip_test.go
} } } // ip4i was one of the possible representations of IP that came up in // discussions, inlining IPv4 addresses, but having an "overflow" // interface for IPv6 or IPv6 + zone. This is here for benchmarking. type ip4i struct { ip4 [4]byte flags1 byte flags2 byte flags3 byte flags4 byte ipv6 any } func newip4i_v4(a, b, c, d byte) ip4i {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 17:10:01 UTC 2024 - 54.3K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/AbstractFuture.java
@ParametricNullness private V getDoneValue(Object obj) throws ExecutionException { // While this seems like it might be too branch-y, simple benchmarking proves it to be // unmeasurable (comparing done AbstractFutures with immediateFuture) if (obj instanceof Cancellation) { throw cancellationExceptionWithCause("Task was cancelled.", ((Cancellation) obj).cause);
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri Jun 07 22:25:23 UTC 2024 - 63.1K bytes - Viewed (1) -
guava/src/com/google/common/util/concurrent/AbstractFuture.java
@ParametricNullness private V getDoneValue(Object obj) throws ExecutionException { // While this seems like it might be too branch-y, simple benchmarking proves it to be // unmeasurable (comparing done AbstractFutures with immediateFuture) if (obj instanceof Cancellation) { throw cancellationExceptionWithCause("Task was cancelled.", ((Cancellation) obj).cause);
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri Jun 07 22:25:23 UTC 2024 - 62.8K bytes - Viewed (1) -
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/runtime/malloc.go
// pointers, this allows the GC to run before it is all cleared. func memclrNoHeapPointersChunked(size uintptr, x unsafe.Pointer) { v := uintptr(x) // got this from benchmarking. 128k is too small, 512k is too large. const chunkBytes = 256 * 1024 vsize := v + size for voff := v; voff < vsize; voff = voff + chunkBytes { if getg().preempt { // may hold locks, e.g., profiling
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 59.6K bytes - Viewed (0)