Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,964 for measure (0.3 sec)

  1. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/results/MeasuredOperationList.groovy

     * limitations under the License.
     */
    
    package org.gradle.performance.results
    
    import groovy.transform.CompileStatic
    import org.gradle.performance.measure.DataSeries
    import org.gradle.performance.measure.Duration
    import org.gradle.performance.measure.MeasuredOperation
    
    @CompileStatic
    public class MeasuredOperationList extends LinkedList<MeasuredOperation> {
        String name
    
        DataSeries<Duration> getTotalTime() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  2. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/results/PrettyCalculator.groovy

     * limitations under the License.
     */
    
    package org.gradle.performance.results
    
    import groovy.transform.CompileStatic
    import org.gradle.performance.measure.Amount
    import org.gradle.performance.measure.DataAmount
    import org.gradle.performance.measure.Duration
    
    import java.math.RoundingMode
    
    @CompileStatic
    class PrettyCalculator {
    
        static String toBytes(Amount<DataAmount> bytes) {
    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. cmd/bucket-replication-metrics.go

    		measure: rx.measure,
    		N:       rx.N + o.N,
    	}
    }
    
    func calcAvg(x, y float64, n1, n2 int64) float64 {
    	if n1+n2 == 0 {
    		return 0
    	}
    	avg := (x*float64(n1) + y*float64(n2)) / float64(n1+n2)
    	return avg
    }
    
    // Add a new transfer
    func (rx *XferStats) addSize(sz int64, t time.Duration) {
    	if rx.measure == nil {
    		rx.measure = newRateMeasurement(time.Now())
    	}
    	rx.measure.incrementBytes(uint64(sz))
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Feb 06 06:00:45 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  4. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/results/FormatSupport.java

     * limitations under the License.
     */
    
    package org.gradle.performance.results;
    
    import org.gradle.performance.measure.Amount;
    import org.gradle.performance.measure.DataSeries;
    import org.gradle.performance.measure.Duration;
    
    import java.math.BigDecimal;
    import java.math.RoundingMode;
    import java.text.DateFormat;
    import java.text.SimpleDateFormat;
    import java.time.Instant;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 4K bytes
    - Viewed (0)
  5. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/results/BaselineVersion.groovy

     * limitations under the License.
     */
    
    package org.gradle.performance.results
    
    import groovy.transform.CompileStatic
    import org.gradle.performance.measure.Amount
    import org.gradle.performance.measure.DataSeries
    import org.gradle.performance.measure.Duration
    
    import java.util.function.BiPredicate
    
    import static PrettyCalculator.toMillis
    
    /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  6. testing/internal-performance-testing/src/test/groovy/org/gradle/performance/results/BaselineVersionTest.groovy

     * limitations under the License.
     */
    
    package org.gradle.performance.results
    
    import org.gradle.performance.measure.DataSeries
    import org.gradle.performance.measure.Duration
    import org.gradle.performance.measure.MeasuredOperation
    import spock.lang.Specification
    
    class BaselineVersionTest extends Specification {
        def baseline = new BaselineVersion("7.5")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  7. testing/internal-performance-testing/src/test/groovy/org/gradle/performance/fixture/PrettyCalculatorSpec.groovy

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.performance.fixture
    
    import org.gradle.performance.measure.Amount
    import org.gradle.performance.measure.Duration
    import spock.lang.Specification
    
    import static org.gradle.performance.results.PrettyCalculator.percentChange
    
    class PrettyCalculatorSpec extends Specification {
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  8. platforms/core-runtime/time/src/main/java/org/gradle/internal/time/Time.java

        }
    
        /**
         * Measures elapsed time.
         *
         * Timers use System.nanoTime() to measure elapsed time,
         * and are therefore not synchronized with {@link #clock()} or the system wall clock.
         *
         * System.nanoTime() does not consider time elapsed while the system is in hibernation.
         * Therefore, timers effectively measure the elapsed time, of which the system was awake.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 20:20:17 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  9. testing/internal-performance-testing/src/test/groovy/org/gradle/performance/ResultSpecification.groovy

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.performance
    
    import org.gradle.performance.measure.Amount
    import org.gradle.performance.measure.Duration
    import org.gradle.performance.measure.MeasuredOperation
    import org.gradle.performance.results.BuildDisplayInfo
    import org.gradle.performance.results.CrossBuildPerformanceResults
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  10. testing/performance/src/performanceTest/groovy/org/gradle/performance/regression/buildcache/AbstractTaskOutputCachingPerformanceTest.groovy

            context.iteration == invocationSettings.buildCount && context.phase == Phase.MEASURE
        }
    
        boolean isRunWithCache(BuildContext context) {
            context.iteration >= firstWarmupWithCache || context.phase == Phase.MEASURE
        }
    
        boolean isFirstRunWithCache(BuildContext context) {
            context.iteration == firstWarmupWithCache && context.phase == Phase.WARM_UP
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 4.4K bytes
    - Viewed (0)
Back to top