Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 15 of 15 for BenchmarkZ (0.41 sec)

  1. src/math/all_test.go

    			}
    			continue
    		}
    		if got != want {
    			t.Errorf("got=%#v want=%#v, v=%#v", got, want, v)
    		}
    	}
    }
    
    // Benchmarks
    
    // Global exported variables are used to store the
    // return values of functions measured in the benchmarks.
    // Storing the results in these variables prevents the compiler
    // from completely optimizing the benchmarked functions away.
    var (
    	GlobalI int
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jul 07 17:39:26 UTC 2023
    - 86.8K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiextensions-apiserver/test/integration/ratcheting_test.go

    					if !ok {
    						b.Log("No validator for GVK", pair.old.GroupVersionKind())
    						continue
    					}
    
    					// Run the ratcheting algorithm on the update.
    					// Don't care about result for benchmark
    					validator(pair.old, pair.new)
    				}
    			}
    
    			b.Run("ValidXValid", func(b *testing.B) {
    				for i := 0; i < b.N; i++ {
    					do(validXValidPairs)
    				}
    			})
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 59.5K bytes
    - Viewed (0)
  3. cmd/test-utils_test.go

    // This makes it easy to run the TestServer from any of the tests.
    // Using this interface, functionalities to be used in tests can be
    // made generalized, and can be integrated in benchmarks/unit tests/go check suite tests.
    type TestErrHandler interface {
    	testing.TB
    }
    
    const (
    	// ErasureSDStr is the string which is used as notation for Single node ObjectLayer in the unit tests.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 76.9K bytes
    - Viewed (0)
  4. src/runtime/mgc.go

    	// Wait for mark termination N+1 to complete.
    	gcWaitOnMark(n + 1)
    
    	// Finish sweep N+1 before returning. We do this both to
    	// complete the cycle and because runtime.GC() is often used
    	// as part of tests and benchmarks to get the system into a
    	// relatively stable and isolated state.
    	for work.cycles.Load() == n+1 && sweepone() != ^uintptr(0) {
    		Gosched()
    	}
    
    	// Callers may assume that the heap profile reflects the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 62K bytes
    - Viewed (0)
  5. src/runtime/malloc.go

    			// for an inner byte of a memory block.
    			//
    			// The main targets of tiny allocator are small strings and
    			// standalone escaping variables. On a json benchmark
    			// the allocator reduces number of allocations by ~12% and
    			// reduces heap size by ~20%.
    			off := c.tinyoffset
    			// Align tiny pointer for required (conservative) alignment.
    			if size&7 == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 59.6K bytes
    - Viewed (0)
Back to top