Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 3,877 for measure (0.14 sec)

  1. 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)
  2. guava-tests/benchmark/com/google/common/collect/SetCreationBenchmark.java

    import com.google.caliper.Benchmark;
    import com.google.caliper.Param;
    import com.google.common.collect.BenchmarkHelpers.SetImpl;
    
    /**
     * This is meant to be used with {@code --measureMemory} to measure the memory usage of various
     * {@code Set} implementations.
     *
     * @author Christopher Swenson
     */
    public class SetCreationBenchmark {
      @Param({
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 1.8K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/main/java/org/gradle/model/Unmanaged.java

     */
    @Retention(RetentionPolicy.RUNTIME)
    @Target(ElementType.METHOD)
    @Incubating
    public @interface Unmanaged {
        // Note: this may be a temporary measure while existing infrastructure is being ported to managed model elements
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/base/Ticker.java

     * fixed but arbitrary point in time. Note that most users should use {@link Stopwatch} instead of
     * interacting with this class directly.
     *
     * <p><b>Warning:</b> this interface can only be used to measure elapsed time, not wall time.
     *
     * @author Kevin Bourrillion
     * @since 10.0 (<a href="https://github.com/google/guava/wiki/Compatibility">mostly
     *     source-compatible</a> since 9.0)
     */
    @GwtCompatible
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 23 23:27:53 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  5. 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)
  6. pkg/quota/v1/evaluator/core/services.go

    	serviceEvaluator := &serviceEvaluator{listFuncByNamespace: listFuncByNamespace}
    	return serviceEvaluator
    }
    
    // serviceEvaluator knows how to measure usage for services.
    type serviceEvaluator struct {
    	// knows how to list items by namespace
    	listFuncByNamespace generic.ListFuncByNamespace
    }
    
    // Constraints verifies that all required resources are present on the item
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 26 17:14:05 UTC 2022
    - 7K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. pkg/apis/coordination/types.go

    	// holderIdentity contains the identity of the holder of a current lease.
    	// +optional
    	HolderIdentity *string
    	// 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
    	// acquireTime is a time when the current lease was acquired.
    	// +optional
    	AcquireTime *metav1.MicroTime
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 16 16:45:58 UTC 2022
    - 1.9K bytes
    - Viewed (0)
Back to top