Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for buildCount (0.24 sec)

  1. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/stats/DaemonRunningStats.java

        private final Timer daemonTimer = Time.startTimer();
        private final Timer currentBuildTimer = Time.startTimer();
    
        private int buildCount;
        private long allBuildsTime;
    
        public int getBuildCount() {
            return buildCount;
        }
    
        public String getPrettyUpTime() {
            return daemonTimer.getElapsed();
        }
    
        public long getStartTime() {
            return startTime;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun May 05 22:23:18 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  2. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/server/scaninfo/DaemonScanInfoIntegrationSpec.groovy

            and:
            daemons.daemon.stops()
        }
    
        static String captureTask(String name, int buildCount, int daemonCount, boolean singleUse = false) {
            """
        task $name {
            doLast {
                DaemonScanInfo info = services.get(DaemonScanInfo)
                ${assertInfo(buildCount, daemonCount, singleUse)}
            }
        }
        """
        }
    
        static String captureAndAssert() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 9.2K bytes
    - Viewed (0)
  3. testing/performance/src/performanceTest/groovy/org/gradle/performance/regression/buildcache/AbstractTaskOutputCachingPerformanceTest.groovy

                        }
                    }
                }
            }
        }
    
        static boolean isLastRun(BuildContext context, InvocationSettings invocationSettings) {
            context.iteration == invocationSettings.buildCount && context.phase == Phase.MEASURE
        }
    
        boolean isRunWithCache(BuildContext context) {
            context.iteration >= firstWarmupWithCache || context.phase == Phase.MEASURE
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  4. subprojects/core/src/integTest/groovy/org/gradle/internal/scopeids/ContinuousScopeIdsIntegrationTest.groovy

            // and that each invocation shares the user and workspace scope IDs,
            // which is really what we are testing here.
            scopeIds.buildCount == 3
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 11 09:57:23 UTC 2022
    - 2.9K bytes
    - Viewed (0)
  5. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/work/DefaultWorkerLeaseServiceProjectLockTest.groovy

        def "multiple threads can coordinate on locking of multiple builds when not in parallel"() {
            def projectLockService = workerLeaseService(false)
            def threadCount = 20
            def buildCount = 4
            def testLock = []
            buildCount.times { i -> testLock[i] = new ReentrantLock() }
            def started = new CountDownLatch(threadCount)
    
            when:
            async {
                threadCount.times { i ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 16:29:26 UTC 2024
    - 25.6K bytes
    - Viewed (0)
  6. platforms/enterprise/enterprise-plugin-performance/src/performanceTest/groovy/org/gradle/performance/BuildScanPluginPerformanceTest.groovy

            @Override
            void afterBuild(BuildContext context, Throwable t) {
                def spoolDir = this.spoolDir()
                if (context.phase == Phase.MEASURE && (context.iteration == invocationSettings.buildCount) && spoolDir.exists()) {
                    def targetDirectory = new File("build/scan-dumps/$testId")
                    targetDirectory.deleteDir()
                    FileUtils.moveToDirectory(spoolDir, targetDirectory, true)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Feb 19 09:04:53 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  7. maven-core/src/test/resources-project-builder/basedir-aligned-interpolation/pom.xml

        <buildTestSrc>${project.build.testSourceDirectory}</buildTestSrc>
        <buildScriptSrc>${project.build.scriptSourceDirectory}</buildScriptSrc>
        <buildOut>${project.build.directory}</buildOut>
        <buildMainOut>${project.build.outputDirectory}</buildMainOut>
        <buildTestOut>${project.build.testOutputDirectory}</buildTestOut>
        <siteOut>${project.reporting.outputDirectory}</siteOut>
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Sun Mar 29 19:02:56 UTC 2020
    - 2.2K bytes
    - Viewed (0)
  8. maven-core/src/test/java/org/apache/maven/project/PomConstructionTest.java

                    new File(pom.getValue("properties/buildScriptSrc").toString()));
            assertEquals(
                    new File(pom.getBasedir(), "target"),
                    new File(pom.getValue("properties/buildOut").toString()));
            assertEquals(
                    new File(pom.getBasedir(), "target/classes"),
                    new File(pom.getValue("properties/buildMainOut").toString()));
            assertEquals(
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 93.2K bytes
    - Viewed (0)
Back to top