Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for slowestFirst (0.15 sec)

  1. platforms/core-runtime/build-profile/src/main/java/org/gradle/profile/BuildProfile.java

         * Get a list of the profiling containers for all projects
         *
         * @return list
         */
        public List<ProjectProfile> getProjects() {
            return CollectionUtils.sort(projects.values(), Operation.slowestFirst());
        }
    
        public CompositeOperation<Operation> getProjectConfiguration() {
            List<Operation> operations = new ArrayList<>();
            for (ProjectProfile projectProfile : projects.values()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:39 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  2. platforms/core-runtime/build-profile/src/main/java/org/gradle/profile/Operation.java

        abstract String getDescription();
    
        /**
         * @return comparator that compares operations, slowest first, then alphabetically
         */
        public static Comparator<? super Operation> slowestFirst() {
            return new Comparator<Operation>() {
                @Override
                public int compare(Operation o1, Operation o2) {
                    long byElapsedTime = o2.getElapsedTime() - o1.getElapsedTime();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Dec 01 12:58:53 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  3. platforms/core-runtime/build-profile/src/main/java/org/gradle/profile/ProjectProfile.java

        }
    
        /**
         * Returns the task executions for this project.
         */
        public CompositeOperation<TaskExecution> getTasks() {
            List<TaskExecution> taskExecutions = CollectionUtils.sort(tasks.values(), slowestFirst());
            return new CompositeOperation<TaskExecution>(taskExecutions);
        }
    
        /**
         * Get the String project path.
         */
        public String getPath() {
            return projectPath;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 14:58:23 UTC 2024
    - 2.3K bytes
    - Viewed (0)
Back to top