Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,142 for measure (0.23 sec)

  1. src/testing/benchmark.go

    			n = min(n, 1e9)
    			b.runN(int(n))
    		}
    	}
    	b.result = BenchmarkResult{b.N, b.duration, b.bytes, b.netAllocs, b.netBytes, b.extra}
    }
    
    // Elapsed returns the measured elapsed time of the benchmark.
    // The duration reported by Elapsed matches the one measured by
    // [B.StartTimer], [B.StopTimer], and [B.ResetTimer].
    func (b *B) Elapsed() time.Duration {
    	d := b.duration
    	if b.timerOn {
    		d += highPrecisionTimeSince(b.start)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  2. src/math/rand/v2/rand_test.go

    		for i := range p {
    			p[i] = i
    		}
    		r.Shuffle(30, func(i, j int) { p[i], p[j] = p[j], p[i] })
    		t += p[0]
    	}
    	Sink = uint64(t)
    }
    
    // BenchmarkShuffleOverhead uses a minimal swap function
    // to measure just the shuffling overhead.
    func BenchmarkShuffleOverhead(b *testing.B) {
    	r := testRand()
    	for n := b.N; n > 0; n-- {
    		r.Shuffle(30, func(i, j int) {
    			if i < 0 || i >= 30 || j < 0 || j >= 30 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  3. docs/en/docs/deployment/concepts.md

    You could put an **arbitrary number** to target, for example, something **between 50% to 90%** of resource utilization. The point is that those are probably the main things you will want to measure and use to tweak your deployments.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu May 02 22:37:31 UTC 2024
    - 18K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/Cache.kt

     * may cause corruption or runtime errors if not. It may however be shared amongst multiple OkHttpClient
     * instances.
     *
     * ## Cache Optimization
     *
     * To measure cache effectiveness, this class tracks three statistics:
     *
     *  * **[Request Count:][requestCount]** the number of HTTP requests issued since this cache was
     *    created.
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  5. src/runtime/metrics_test.go

    	stop := applyGCLoad(b)
    
    	// Spend this much time measuring latencies.
    	latencies := make([]time.Duration, 0, 1024)
    	_, samples := prepareAllMetricsSamples()
    
    	// Hit metrics.Read continuously and measure.
    	b.ResetTimer()
    	for i := 0; i < b.N; i++ {
    		start := time.Now()
    		metrics.Read(samples)
    		latencies = append(latencies, time.Since(start))
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 45K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/docs/userguide/optimizing-performance/build-cache/build_cache.adoc

    In order to ensure that the inputs and outputs are properly declared use integration tests (for example using TestKit) to check that a task produces the same outputs for identical inputs and captures all output files for the task.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 11:30:10 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  7. src/crypto/tls/handshake_client.go

    	}
    
    	if hs.c.config.CipherSuites == nil && !needFIPS() && rsaKexCiphers[hs.suite.id] {
    		tlsrsakex.Value() // ensure godebug is initialized
    		tlsrsakex.IncNonDefault()
    	}
    	if hs.c.config.CipherSuites == nil && !needFIPS() && tdesCiphers[hs.suite.id] {
    		tls3des.Value() // ensure godebug is initialized
    		tls3des.IncNonDefault()
    	}
    
    	hs.c.cipherSuite = hs.suite.id
    	return nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 38.6K bytes
    - Viewed (0)
  8. pkg/kubelet/status/status_manager.go

    		pod = newPod
    		// We pass a new object (result of API call which contains updated ResourceVersion)
    		m.podStartupLatencyHelper.RecordStatusUpdated(pod)
    	}
    
    	// measure how long the status update took to propagate from generation to update on the server
    	if status.at.IsZero() {
    		klog.V(3).InfoS("Pod had no status time set", "pod", klog.KObj(pod), "podUID", uid, "version", status.version)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 02 16:27:19 UTC 2024
    - 44.3K bytes
    - Viewed (0)
  9. CHANGELOG/CHANGELOG-1.30.md

    - RemoteCommand feature gates for kubectl exec, cp, and attach over WebSockets are now enabled by default (Beta):
      - Server-side feature gate: `TranslateStreamCloseWebsocketRequests`
      - Client-side (kubectl) feature gate: `KUBECTL_REMOTE_COMMAND_WEBSOCKETS`
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 04:05:28 UTC 2024
    - 253.2K bytes
    - Viewed (0)
  10. cmd/erasure.go

    	// Put all buckets into channel.
    	bucketCh := make(chan BucketInfo, len(buckets))
    
    	// Shuffle buckets to ensure total randomness of buckets, being scanned.
    	// Otherwise same set of buckets get scanned across erasure sets always.
    	// at any given point in time. This allows different buckets to be scanned
    	// in different order per erasure set, this wider spread is needed when
    	// there are lots of buckets with different order of objects in them.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 16K bytes
    - Viewed (0)
Back to top