Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for benchmarking (0.17 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher_whitebox_test.go

    				if err != nil {
    					b.Fatalf("parse selector: %v", err)
    				}
    				pred := storage.SelectionPredicate{
    					Label: labels.Everything(),
    					Field: parsedField,
    				}
    
    				// now we start benchmarking
    				b.ResetTimer()
    				for i := 0; i < b.N; i++ {
    					result := &example.PodList{}
    					err = cacher.GetList(context.TODO(), "pods", storage.ListOptions{
    						Predicate:       pred,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 82.9K bytes
    - Viewed (0)
  6. src/cmd/go/internal/test/test.go

    	var buf bytes.Buffer
    	if len(pkgArgs) == 0 || testBench != "" || testFuzz != "" {
    		// Stream test output (no buffering) when no package has
    		// been given on the command line (implicit current directory)
    		// or when benchmarking or fuzzing.
    		// No change to stdout.
    	} else {
    		// If we're only running a single package under test or if parallelism is
    		// set to 1, and if we're displaying all output (testShowPass), we can
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 71.9K bytes
    - Viewed (0)
Back to top