- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for confidenceInDifference (0.24 sec)
-
testing/internal-performance-testing/src/main/groovy/org/gradle/performance/results/FormatSupport.java
import java.text.SimpleDateFormat; import java.time.Instant; import java.time.format.DateTimeFormatter; import java.util.Date; import java.util.TimeZone; import static org.gradle.performance.measure.DataSeries.confidenceInDifference; public class FormatSupport { public static String executionTimestamp() { return timestamp(Instant.now()); } public static String timestamp(Instant time) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 4K bytes - Viewed (0) -
testing/internal-performance-testing/src/main/groovy/org/gradle/performance/results/BaselineVersion.groovy
} else { sb.append "Speed $displayName: Results were inconclusive" } String confidencePercent = DataSeries.confidenceInDifference(results.totalTime, current.totalTime) * 100 as int sb.append(" with " + confidencePercent + "% confidence.\n") def diff = currentVersionMean - thisVersionMean
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 5.6K bytes - Viewed (0) -
testing/internal-performance-testing/src/main/groovy/org/gradle/performance/results/PerformanceReportScenarioHistoryExecution.groovy
double getDifferencePercentage() { return FormatSupport.getDifferencePercentage(baseVersion, currentVersion).doubleValue() } double getConfidencePercentage() { return 100.0 * DataSeries.confidenceInDifference(baseVersion.totalTime, currentVersion.totalTime) } String getFormattedDifferencePercentage() { String.format("%.2f%%", differencePercentage) } String getFormattedConfidence() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 2.5K bytes - Viewed (0) -
testing/internal-performance-testing/src/test/groovy/org/gradle/performance/results/BaselineVersionTest.groovy
current.significantlySlowerThan(baseline.results, tooHighConfidence) } private double calculateConfidence(BaselineVersion first, BaselineVersion second) { DataSeries.confidenceInDifference(first.results.getTotalTime(), second.results.totalTime) } MeasuredOperation millis(long millis) { new MeasuredOperation(totalTime: Duration.millis(millis)) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 2.7K bytes - Viewed (0) -
testing/internal-performance-testing/src/main/groovy/org/gradle/performance/measure/DataSeries.java
} public Amount<Q> getMax() { return max; } public Amount<Q> getStandardError() { return standardError; } public static double confidenceInDifference(DataSeries first, DataSeries second) { return 1 - new MannWhitneyUTest().mannWhitneyUTest(first.asDoubleArray(), second.asDoubleArray()); } public List<Double> asDoubleList() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 3.9K bytes - Viewed (0)