Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 41 for latencies (0.34 sec)

  1. staging/src/k8s.io/apiserver/pkg/server/egressselector/metrics/metrics.go

    			StabilityLevel: metrics.ALPHA,
    		},
    		[]string{"protocol", "transport", "stage"},
    	)
    
    	legacyregistry.MustRegister(starts)
    	legacyregistry.MustRegister(latencies)
    	legacyregistry.MustRegister(failures)
    	return &DialMetrics{starts: starts, latencies: latencies, failures: failures, clock: clock.RealClock{}}
    }
    
    // Clock returns the clock.
    func (m *DialMetrics) Clock() clock.Clock {
    	return m.clock
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Nov 01 23:36:51 UTC 2022
    - 4.3K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/storage/value/metrics.go

    			Namespace: namespace,
    			Subsystem: subsystem,
    			Name:      "transformation_duration_seconds",
    			Help:      "Latencies in seconds of value transformation operations.",
    			// In-process transformations (ex. AES CBC) complete on the order of 20 microseconds. However, when
    			// external KMS is involved latencies may climb into hundreds of milliseconds.
    			Buckets:        metrics.ExponentialBuckets(5e-6, 2, 25),
    			StabilityLevel: metrics.ALPHA,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 18 22:44:02 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  3. src/runtime/runtime_test.go

    			b.ReportMetric(float64(latencies[len(latencies)*90/100]), "p90-ns")
    			b.ReportMetric(float64(latencies[len(latencies)*99/100]), "p99-ns")
    		}
    		return func(b *testing.B) {
    			b.Run("idle", runOne)
    
    			b.Run("loaded", func(b *testing.B) {
    				stop := applyGCLoad(b)
    				runOne(b)
    				// Make sure to stop the timer before we wait! The load created above
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/conversion/metrics.go

    }
    
    var _ crConverterInterface = &converterMetric{}
    
    type converterMetric struct {
    	delegate  crConverterInterface
    	latencies *metrics.HistogramVec
    	crdName   string
    }
    
    func (c *converterMetricFactory) addMetrics(crdName string, converter crConverterInterface) (crConverterInterface, error) {
    	c.factoryLock.Lock()
    	defer c.factoryLock.Unlock()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 07 19:34:33 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/admission/metrics/metrics.go

    }
    
    type metricSet struct {
    	latencies        *metrics.HistogramVec
    	latenciesSummary *metrics.SummaryVec
    }
    
    // MustRegister registers all the prometheus metrics in the metricSet.
    func (m *metricSet) mustRegister() {
    	legacyregistry.MustRegister(m.latencies)
    	if m.latenciesSummary != nil {
    		legacyregistry.MustRegister(m.latenciesSummary)
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 14 17:01:40 UTC 2023
    - 15.5K bytes
    - Viewed (0)
  6. src/runtime/gc_test.go

    	b.ReportMetric(0, "ns/op")
    	b.ReportMetric(0, "B/op")
    	b.ReportMetric(0, "allocs/op")
    
    	// Sort latencies then report percentiles.
    	slices.Sort(latencies)
    	b.ReportMetric(float64(latencies[len(latencies)*50/100]), "p50-ns")
    	b.ReportMetric(float64(latencies[len(latencies)*90/100]), "p90-ns")
    	b.ReportMetric(float64(latencies[len(latencies)*99/100]), "p99-ns")
    }
    
    func TestUserForcedGC(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 05 22:33:52 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  7. internal/ioutil/discard.go

    // implementation which is buggy on NUMA systems, we have to use a simpler
    // io.Writer implementation alone avoids also unnecessary buffer copies,
    // and as such incurred latencies.
    var Discard io.Writer = discard{}
    
    // discard is /dev/null for Golang.
    type discard struct{}
    
    func (discard) Write(p []byte) (int, error) {
    	return len(p), nil
    }
    
    // DiscardReader discarded reader
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Nov 06 22:26:08 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  8. pkg/test/loadbalancersim/lb_test.go

    			Dest: otherRegion,
    		}: 100 * time.Millisecond,
    	}
    
    	networkLatencyCases := []struct {
    		enable    bool
    		latencies map[mesh.RouteKey]time.Duration
    	}{
    		{
    			enable:    false,
    			latencies: make(map[mesh.RouteKey]time.Duration),
    		},
    		{
    			enable:    true,
    			latencies: networkLatencies,
    		},
    	}
    
    	weightCases := []struct {
    		enableWeighting       bool
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 19 23:29:30 UTC 2022
    - 11K bytes
    - Viewed (0)
  9. src/runtime/metrics_test.go

    	b.ReportMetric(0, "allocs/op")
    
    	// Sort latencies then report percentiles.
    	sort.Slice(latencies, func(i, j int) bool {
    		return latencies[i] < latencies[j]
    	})
    	b.ReportMetric(float64(latencies[len(latencies)*50/100]), "p50-ns")
    	b.ReportMetric(float64(latencies[len(latencies)*90/100]), "p90-ns")
    	b.ReportMetric(float64(latencies[len(latencies)*99/100]), "p99-ns")
    }
    
    var readMetricsSink [1024]interface{}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 45K bytes
    - Viewed (0)
  10. istioctl/pkg/metrics/metrics.go

    query results are printed to the console, organized by workload name.
    
    All metrics returned are from server-side reports. This means that latencies
    and error rates are from the perspective of the service itself and not of an
    individual client (or aggregate set of clients). Rates and latencies are
    calculated over a time interval of 1 minute.
    `,
    		Example: `  # Retrieve workload metrics for productpage-v1 workload
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Apr 13 05:23:38 UTC 2024
    - 8.4K bytes
    - Viewed (0)
Back to top