Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ExecutionGraph (0.17 sec)

  1. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/results/report/ExecutionGraph.java

    import java.util.Arrays;
    import java.util.List;
    import java.util.stream.Collectors;
    import java.util.stream.IntStream;
    
    public class ExecutionGraph {
        // Execution 1,2,3, starting from 1
        int index;
        String title;
        List<Line> data;
    
        public ExecutionGraph(int index, Line... lines) {
            this.index = index;
            this.title = "Execution " + index + " (ms)";
            this.data = Arrays.asList(lines);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  2. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/results/report/PerformanceExecutionGraphRenderer.java

        }
    
        default ExecutionGraph toExecutionGraph(PerformanceTestExecution execution, int index) {
            Line baseline = new Line(execution.getScenarios().stream().filter(this::hasData).findFirst().orElse(new MeasuredOperationList()));
            Line current = new Line(execution.getScenarios().get(execution.getScenarios().size() - 1));
    
            return new ExecutionGraph(index, baseline, current);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.3K bytes
    - Viewed (0)
Back to top