Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 483 for startTimer (0.14 sec)

  1. platforms/core-configuration/kotlin-dsl-tooling-builders/src/main/kotlin/org/gradle/kotlin/dsl/tooling/builders/KotlinBuildScriptModelBuilder.kt

    import org.gradle.internal.classpath.ClassPath
    import org.gradle.internal.classpath.DefaultClassPath
    import org.gradle.internal.resource.TextFileResourceLoader
    import org.gradle.internal.time.Time.startTimer
    import org.gradle.kotlin.dsl.*
    import org.gradle.kotlin.dsl.accessors.AccessorsClassPath
    import org.gradle.kotlin.dsl.accessors.ProjectAccessorsClassPathGenerator
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 02 11:06:08 UTC 2024
    - 17.8K bytes
    - Viewed (0)
  2. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/steps/CaptureOutputsAfterExecutionStep.java

            return operation(
                operationContext -> {
                    Timer timer = Time.startTimer();
                    ImmutableSortedMap<String, FileSystemSnapshot> unfilteredOutputSnapshotsAfterExecution = outputSnapshotter.snapshotOutputs(work, context.getWorkspace());
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 16:02:33 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  3. src/go/doc/testdata/testing.1.golden

    	func (b *B) ResetTimer()
    
    	// SetBytes records the number of bytes processed in a single ...
    	func (b *B) SetBytes(n int64)
    
    	// StartTimer starts timing a test. This function is called ...
    	func (b *B) StartTimer()
    
    	// StopTimer stops timing a test. This can be used to pause the ...
    	func (b *B) StopTimer()
    
    	// launch launches the benchmark function. It gradually increases ...
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 8.4K bytes
    - Viewed (0)
  4. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/steps/ExecuteStep.java

                        .map(PreviousExecutionState::getOutputFilesProducedByWork);
                }
            };
            UnitOfWork.WorkOutput workOutput;
    
            Timer timer = Time.startTimer();
            try {
                workOutput = work.execute(executionRequest);
            } catch (Throwable t) {
                return Result.failed(t, Duration.ofMillis(timer.getElapsedMillis()));
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 10:36:34 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/store/ResolutionResultsStoreFactory.java

        private boolean isFull(DefaultBinaryStore store) {
            return store.getSize() > maxSize;
        }
    
        @Override
        public void close() {
            try {
                Timer clock = Time.startTimer();
                cleanUpLater.stop();
                LOG.debug("Deleted {} resolution results binary files in {}", stores.size(), clock.getElapsed());
            } finally {
                oldModelCache = null;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 5K bytes
    - Viewed (0)
  6. platforms/jvm/language-java/src/main/java/org/gradle/api/internal/tasks/compile/incremental/SelectiveCompiler.java

                LOG.info("Full recompilation is required because the source roots could not be inferred.");
                return rebuildAllCompiler.execute(spec);
            }
    
            Timer clock = Time.startTimer();
            CurrentCompilation currentCompilation = new CurrentCompilation(spec, classpathSnapshotter);
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  7. subprojects/core/src/main/java/org/gradle/cache/internal/VersionSpecificCacheCleanupAction.java

        }
    
        @Override
        public boolean execute(@Nonnull CleanupProgressMonitor progressMonitor) {
            if (requiresCleanup()) {
                Timer timer = Time.startTimer();
                performCleanup(progressMonitor);
                LOGGER.debug("Processed version-specific caches at {} for cleanup in {}", versionSpecificCacheDirectoryScanner.getBaseDir(), timer.getElapsed());
                return true;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 20:26:37 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  8. platforms/software/testing-base/src/main/java/org/gradle/api/internal/tasks/testing/report/DefaultTestReport.java

        }
    
        @Override
        public void generateReport(TestResultsProvider resultsProvider, File reportDir) {
            LOG.info("Generating HTML test report...");
    
            Timer clock = Time.startTimer();
            AllTestResults model = loadModelFromProvider(resultsProvider);
            generateFiles(model, resultsProvider, reportDir);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 12:58:15 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/dropped_requests_tracker_test.go

    	go func() {
    		defer timeWg.Done()
    		for {
    			select {
    			case <-stopCh:
    				return
    			case <-time.After(25 * time.Millisecond):
    				fakeClock.Step(time.Second)
    			}
    		}
    	}()
    
    	b.StartTimer()
    	close(startCh)
    	wg.Wait()
    
    	close(stopCh)
    	timeWg.Wait()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 26 13:50:25 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  10. pkg/slices/slices_test.go

    		for i := 0; i < b.N; i++ {
    			b.StopTimer()
    			ss := makeRandomStructs(N)
    			b.StartTimer()
    			SortFunc(ss, cmpFunc)
    		}
    	})
    	b.Run("SortStableFunc", func(b *testing.B) {
    		cmpFunc := func(a, b *myStruct) int { return a.n - b.n }
    		for i := 0; i < b.N; i++ {
    			b.StopTimer()
    			ss := makeRandomStructs(N)
    			b.StartTimer()
    			SortStableFunc(ss, cmpFunc)
    		}
    	})
    	b.Run("SortBy", func(b *testing.B) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 10 23:33:56 UTC 2024
    - 18.2K bytes
    - Viewed (0)
Back to top