Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,886 for Durations (0.19 sec)

  1. .teamcity/performance-test-durations.json

      "durations" : [ {
        "testProject" : "largeEmptyMultiProjectDeclarativeDsl",
        "linux" : 8
      } ]
    }, {
      "scenario" : "org.gradle.performance.experiment.declarativedsl.DeclarativeDslFirstUsePerformanceTest.cold daemon",
      "durations" : [ {
        "testProject" : "largeEmptyMultiProjectDeclarativeDsl",
        "linux" : 8
      } ]
    }, {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 10:30:45 UTC 2024
    - 27.9K bytes
    - Viewed (1)
  2. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/results/PerformanceScenarioDurations.groovy

    /**
     * Used for generating performance-test-durations.json by Jackson.
     */
    @CompileStatic
    class PerformanceScenarioDurations {
        String scenario
        List<TestProjectDuration> durations
    
        PerformanceScenarioDurations(String scenario, List<TestProjectDuration> durations) {
            this.scenario = scenario
            this.durations = durations
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/endpoints/request/webhook_duration_test.go

    	"testing"
    	"time"
    
    	clocktesting "k8s.io/utils/clock/testing"
    )
    
    func TestLatencyTrackersFrom(t *testing.T) {
    	type testCase struct {
    		Durations    []time.Duration
    		SumDurations time.Duration
    		MaxDuration  time.Duration
    	}
    	tc := testCase{
    		Durations:    []time.Duration{100, 200, 300, 200, 400, 300, 100},
    		SumDurations: 1600,
    		MaxDuration:  400,
    	}
    	t.Run("TestLatencyTrackersFrom", func(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 14 09:15:20 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/cache/CacheBuilderFactory.java

      }
    
      static class DurationSpec {
        private final long duration;
        private final TimeUnit unit;
    
        private DurationSpec(long duration, TimeUnit unit) {
          this.duration = duration;
          this.unit = unit;
        }
    
        public static DurationSpec of(long duration, TimeUnit unit) {
          return new DurationSpec(duration, unit);
        }
    
        @Override
        public int hashCode() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/conversion/metrics.go

    	// again with the same metric for a specific converter (e.g. 'webhook').
    	durations   map[string]*metrics.HistogramVec
    	factoryLock sync.Mutex
    }
    
    func newConverterMetricFactory() *converterMetricFactory {
    	return &converterMetricFactory{durations: map[string]*metrics.HistogramVec{}, factoryLock: sync.Mutex{}}
    }
    
    var _ crConverterInterface = &converterMetric{}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 07 19:34:33 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  6. testing/internal-performance-testing/src/test/groovy/org/gradle/performance/measure/DurationTest.groovy

        }
    
        def "can convert between units"() {
            expect:
            Duration.millis(45000) == Duration.seconds(45)
            Duration.seconds(0.98) == Duration.millis(980)
            Duration.seconds(120) == Duration.minutes(2)
            Duration.seconds(30) == Duration.minutes(0.5)
            Duration.hours(30) == Duration.millis(30 * 60 * 60 * 1000)
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2K bytes
    - Viewed (0)
  7. .teamcity/src/main/kotlin/model/PerformanceTestBucketProvider.kt

            val durations = JSON.parseArray(performanceTestDurationsJson.readText(StandardCharsets.UTF_8))
            val pairs = durations.flatMap { it ->
                val scenarioDurations = it as JSONObject
                val scenario = Scenario.fromTestId(scenarioDurations["scenario"] as String)
                (scenarioDurations["durations"] as JSONArray).flatMap {
                    val duration = it as JSONObject
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Feb 19 11:22:56 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  8. src/runtime/histogram.go

    }
    
    // record adds the given duration to the distribution.
    //
    // Disallow preemptions and stack growths because this function
    // may run in sensitive locations.
    //
    //go:nosplit
    func (h *timeHistogram) record(duration int64) {
    	// If the duration is negative, capture that in underflow.
    	if duration < 0 {
    		h.underflow.Add(1)
    		return
    	}
    	// bucketBit is the target bit for the bucket which is usually the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apimachinery/pkg/util/wait/wait_test.go

    	tests := []struct {
    		initial *Backoff
    		want    []time.Duration
    	}{
    		{initial: nil, want: []time.Duration{0, 0, 0, 0}},
    		{initial: &Backoff{Duration: time.Second, Steps: -1}, want: []time.Duration{time.Second, time.Second, time.Second}},
    		{initial: &Backoff{Duration: time.Second, Steps: 0}, want: []time.Duration{time.Second, time.Second, time.Second}},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 26 16:28:45 UTC 2024
    - 41.1K bytes
    - Viewed (0)
  10. src/flag/example_test.go

    	if len(*i) > 0 {
    		return errors.New("interval flag already set")
    	}
    	for _, dt := range strings.Split(value, ",") {
    		duration, err := time.ParseDuration(dt)
    		if err != nil {
    			return err
    		}
    		*i = append(*i, duration)
    	}
    	return nil
    }
    
    // Define a flag to accumulate durations. Because it has a special type,
    // we need to use the Var function and therefore create the flag during
    // init.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 26 18:59:00 UTC 2022
    - 2.8K bytes
    - Viewed (0)
Back to top