Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 219 for tiers (0.07 sec)

  1. src/time/sleep_test.go

    	})
    }
    
    func BenchmarkStartStop1000(b *testing.B) {
    	benchmark(b, func(pb *testing.PB) {
    		for pb.Next() {
    			const N = 1000
    			timers := make([]*Timer, N)
    			for i := range timers {
    				timers[i] = AfterFunc(Hour, nil)
    			}
    
    			for i := range timers {
    				timers[i].Stop()
    			}
    		}
    	})
    }
    
    func BenchmarkReset(b *testing.B) {
    	b.Run("impl=chan", func(b *testing.B) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 22 16:33:57 UTC 2024
    - 22.5K bytes
    - Viewed (0)
  2. cmd/tier_test.go

    package cmd
    
    import (
    	"testing"
    	"time"
    )
    
    func TestTierMetrics(t *testing.T) {
    	tier := "WARM-1"
    	globalTierMetrics.Observe(tier, 200*time.Millisecond)
    	expSuccess := 10
    	expFailure := 5
    	for i := 0; i < expSuccess; i++ {
    		globalTierMetrics.logSuccess(tier)
    	}
    	for i := 0; i < expFailure; i++ {
    		globalTierMetrics.logFailure(tier)
    	}
    	metrics := globalTierMetrics.Report()
    	var succ, fail float64
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Dec 21 04:13:40 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  3. cmd/tier-last-day-stats_gen_test.go

    Klaus Post <******@****.***> 1708383286 -0800
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Feb 19 22:54:46 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/validation/metrics_test.go

    				nil,
    				true,
    				gvk,
    				schemaValidator,
    				nil,
    				sts,
    				nil,
    				nil,
    				nil,
    			)
    
    			iters := 1
    			if tt.iters > 0 {
    				iters = tt.iters
    			}
    			for i := 0; i < iters; i++ {
    				_ = strategy.ValidateUpdate(context.TODO(), tt.obj, tt.old)
    			}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 10.9K bytes
    - Viewed (1)
  5. cmd/bucket-lifecycle.go

    			return
    		}
    
    		op := auditTierOp{
    			Tier:        tier,
    			OutputBytes: bytes,
    		}
    
    		if err == nil {
    			since := time.Since(startTime)
    			op.TimeToResponseNS = since.Nanoseconds()
    			globalTierMetrics.Observe(tier, since)
    			globalTierMetrics.logSuccess(tier)
    		} else {
    			op.Error = err.Error()
    			globalTierMetrics.logFailure(tier)
    		}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 33.3K bytes
    - Viewed (0)
  6. tensorflow/compiler/aot/benchmark.cc

      const int64_t start_us = NowMicros();
      int64_t iters = 0;
      while (true) {
        const int64_t iter_start_us = NowMicros();
        fn();
        const int64_t end_us = NowMicros();
        // Collect stats and decide whether to stop.
        stats->per_iter_us.push_back(end_us - iter_start_us);
        const int64_t total_us = end_us - start_us;
        ++iters;
        if ((max_us > 0 && total_us >= max_us) ||
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Sep 12 19:45:29 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  7. cluster/addons/kube-network-policies/kube-network-policies.yaml

    kind: DaemonSet
    metadata:
      name: kube-network-policies
      namespace: kube-system
      labels:
        tier: node
        app: kube-network-policies
        k8s-app: kube-network-policies
        addonmanager.kubernetes.io/mode: Reconcile
    spec:
      selector:
        matchLabels:
          app: kube-network-policies
      template:
        metadata:
          labels:
            tier: node
            app: kube-network-policies
            k8s-app: kube-network-policies
        spec:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 14:27:59 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  8. src/runtime/mklockrank.go

      sweep;
    
    # Test only
    NONE < testR, testW;
    
    NONE < timerSend;
    
    # Scheduler, timers, netpoll
    NONE < allocmW, execW, cpuprof, pollCache, pollDesc, wakeableSleep;
    scavenge, sweep, testR, wakeableSleep, timerSend < hchan;
    assistQueue,
      cpuprof,
      forcegc,
      hchan,
      pollDesc, # pollDesc can interact with timers, which can lock sched.
      scavenge,
      sweep,
      sweepWaiters,
      testR,
      wakeableSleep
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:47:01 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  9. src/time/internal_test.go

    	defer t.Stop()
    
    	// If this test fails, we will either throw (when siftdownTimer detects
    	// bad when on update), or other timers will hang (if the timer in a
    	// heap is in a bad state). There is no reliable way to test this, but
    	// we wait on a short timer here as a smoke test (alternatively, timers
    	// in later tests may hang).
    	<-After(25 * Millisecond)
    }
    
    var (
    	MinMonoTime = Time{wall: 1 << 63, ext: -1 << 63, loc: UTC}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 03 14:56:37 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  10. src/testing/benchmark_test.go

    		procs := uint32(0)
    		iters := uint64(0)
    		b.SetParallelism(3)
    		b.RunParallel(func(pb *testing.PB) {
    			atomic.AddUint32(&procs, 1)
    			for pb.Next() {
    				atomic.AddUint64(&iters, 1)
    			}
    		})
    		if want := uint32(3 * runtime.GOMAXPROCS(0)); procs != want {
    			t.Errorf("got %v procs, want %v", procs, want)
    		}
    		if iters != uint64(b.N) {
    			t.Errorf("got %v iters, want %v", iters, b.N)
    		}
    	})
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 5.6K bytes
    - Viewed (0)
Back to top