Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for latencies (0.28 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. src/runtime/metrics/doc.go

    		in a runnable state before actually running. Bucket counts
    		increase monotonically.
    
    	/sched/pauses/stopping/gc:seconds
    		Distribution of individual GC-related stop-the-world stopping
    		latencies. This is the time it takes from deciding to stop the
    		world until all Ps are stopped. This is a subset of the total
    		GC-related stop-the-world time (/sched/pauses/total/gc:seconds).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:58:43 UTC 2024
    - 20K bytes
    - Viewed (0)
  7. src/runtime/metrics/description.go

    		Kind:        KindFloat64Histogram,
    		Cumulative:  true,
    	},
    	{
    		Name:        "/sched/pauses/stopping/gc:seconds",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 06 17:59:12 UTC 2023
    - 19.6K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/storage/value/metrics_test.go

    			elapsed:            time.Duration(10) * time.Second,
    			metrics: []string{
    				"apiserver_storage_transformation_duration_seconds",
    			},
    			want: `
    			# HELP apiserver_storage_transformation_duration_seconds [ALPHA] Latencies in seconds of value transformation operations.
    			# TYPE apiserver_storage_transformation_duration_seconds histogram
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 18 22:44:02 UTC 2023
    - 16.7K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/storage/etcd3/metrics/metrics.go

    			Help: "Etcd request latency in seconds for each operation and object type.",
    			// Etcd request latency in seconds for each operation and object type.
    			// This metric is used for verifying etcd api call latencies SLO
    			// keep consistent with apiserver metric 'requestLatencies' in
    			// staging/src/k8s.io/apiserver/pkg/endpoints/metrics/metrics.go
    			Buckets: []float64{0.005, 0.025, 0.05, 0.1, 0.2, 0.4, 0.6, 0.8, 1.0, 1.25, 1.5, 2, 3,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 11 21:15:32 UTC 2024
    - 11K bytes
    - Viewed (0)
  10. cluster/images/etcd-version-monitor/etcd-version-monitor.go

    							"grpc_type": true,
    							"grpc_code": true,
    						})
    						return mf, nil
    					},
    				},
    			},
    
    			// etcd 3.0 metric format for grpc request latencies,
    			// rewritten to the etcd 3.1+ format.
    			"etcd_grpc_unary_requests_duration_seconds": {
    				rewriters: []rewriteFunc{
    					func(mf *dto.MetricFamily) (*dto.MetricFamily, error) {
    						mf = deepCopyMetricFamily(mf)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Dec 16 06:50:02 UTC 2023
    - 11.5K bytes
    - Viewed (0)
Back to top