Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,961 for measure (0.32 sec)

  1. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/measure/DataAmount.java

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package org.gradle.performance.measure;
    
    import java.math.BigDecimal;
    
    public class DataAmount {
        public static final Units<DataAmount> BYTES = Units.base(DataAmount.class, "B");
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  2. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/measure/Duration.java

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package org.gradle.performance.measure;
    
    import java.math.BigDecimal;
    
    public class Duration {
        public static final Units<Duration> MILLI_SECONDS = Units.base(Duration.class, "ms");
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  3. src/runtime/runtime_test.go

    				// confusing the benchmarking framework for small b.N.
    				b.StopTimer()
    				stop()
    			})
    		}
    	}
    
    	// Measure the cost of counting goroutines
    	b.Run("small-nil", run(func() bool {
    		GoroutineProfile(nil)
    		return true
    	}))
    
    	// Measure the cost with a small set of goroutines
    	n := NumGoroutine()
    	p := make([]StackRecord, 2*n+2*GOMAXPROCS(0))
    	b.Run("small", run(func() bool {
    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. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/results/CrossVersionResultsStore.java

    package org.gradle.performance.results;
    
    import com.google.common.base.Joiner;
    import com.google.common.collect.Lists;
    import org.gradle.performance.measure.Amount;
    import org.gradle.performance.measure.DataSeries;
    import org.gradle.performance.measure.Duration;
    import org.gradle.performance.measure.MeasuredOperation;
    import org.gradle.util.GradleVersion;
    import org.joda.time.LocalDate;
    
    import java.math.BigDecimal;
    import java.sql.Connection;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 20K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/endpoints/filters/webhook_duration.go

    	"k8s.io/apiserver/pkg/endpoints/responsewriter"
    )
    
    var (
    	watchVerbs = sets.NewString("watch")
    )
    
    // WithLatencyTrackers adds a LatencyTrackers instance to the
    // context associated with a request so that we can measure latency
    // incurred in various components within the apiserver.
    func WithLatencyTrackers(handler http.Handler) http.Handler {
    	return http.HandlerFunc(func(w http.ResponseWriter, req *http.Request) {
    		ctx := req.Context()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 05 21:12:12 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  6. testing/internal-performance-testing/src/test/groovy/org/gradle/performance/measure/DataSeriesTest.groovy

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.performance.measure
    
    import spock.lang.Specification
    
    class DataSeriesTest extends Specification {
        def "can calculate statistics for samples"() {
            def v1 = DataAmount.kbytes(10)
            def v2 = DataAmount.kbytes(20)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  7. testing/internal-performance-testing/src/test/groovy/org/gradle/performance/measure/DurationTest.groovy

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package org.gradle.performance.measure
    
    import spock.lang.Specification
    
    class DurationTest extends Specification {
        def "millisecond durations have useful string formats"() {
            expect:
            Duration.millis(millis).toString() == str
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2K bytes
    - Viewed (0)
  8. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/results/BaseCrossBuildResultsStore.java

    import com.google.common.base.Joiner;
    import com.google.common.collect.ImmutableList;
    import com.google.common.collect.Lists;
    import com.google.common.collect.Sets;
    import org.gradle.performance.measure.Duration;
    import org.gradle.performance.measure.MeasuredOperation;
    import org.joda.time.LocalDate;
    
    import java.sql.Connection;
    import java.sql.PreparedStatement;
    import java.sql.ResultSet;
    import java.sql.SQLException;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/coordination/v1/generated.proto

      // +optional
      optional string holderIdentity = 1;
    
      // leaseDurationSeconds is a duration that candidates for a lease need
      // to wait to force acquire it. This is measure against time of last
      // observed renewTime.
      // +optional
      optional int32 leaseDurationSeconds = 2;
    
      // acquireTime is a time when the current lease was acquired.
      // +optional
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/coordination/v1/types.go

    	// +optional
    	HolderIdentity *string `json:"holderIdentity,omitempty" protobuf:"bytes,1,opt,name=holderIdentity"`
    	// leaseDurationSeconds is a duration that candidates for a lease need
    	// to wait to force acquire it. This is measure against time of last
    	// observed renewTime.
    	// +optional
    	LeaseDurationSeconds *int32 `json:"leaseDurationSeconds,omitempty" protobuf:"varint,2,opt,name=leaseDurationSeconds"`
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 3K bytes
    - Viewed (0)
Back to top