- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 185 for startTimer (0.17 sec)
-
pkg/config/mesh/watcher_test.go
b.StopTimer() path := newTempFile(b) defer removeSilent(path) m := mesh.DefaultMeshConfig() writeMessage(b, path, m) w := newWatcher(b, path, false) b.StartTimer() handler := func(mc *meshconfig.MeshConfig) { // Do nothing } for i := 0; i < b.N; i++ { handler(w.Mesh()) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Oct 31 14:48:28 UTC 2023 - 3K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/initialization/ScriptEvaluatingSettingsProcessor.java
GradleInternal gradle, SettingsLocation settingsLocation, ClassLoaderScope baseClassLoaderScope, StartParameter startParameter ) { Timer settingsProcessingClock = Time.startTimer(); TextResourceScriptSource settingsScript = new TextResourceScriptSource(textFileResourceLoader.loadFile("settings file", settingsLocation.getSettingsFile()));
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Jan 25 19:42:27 UTC 2023 - 3.4K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/passbm_test.go
b.ReportAllocs() c := testConfig(b) fun := c.Fun("entry", bg(size)...) CheckFunc(fun.f) b.ResetTimer() for i := 0; i < b.N; i++ { fn(fun.f) b.StopTimer() CheckFunc(fun.f) b.StartTimer() } } // benchFnBlock runs passFunc across a function with b.N blocks. func benchFnBlock(b *testing.B, fn passFunc, bg blockGen) { b.ReportAllocs() c := testConfig(b) fun := c.Fun("entry", bg(b.N)...)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 26 19:58:28 UTC 2024 - 3.1K bytes - Viewed (0) -
pkg/util/procfs/procfs_linux_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Oct 20 07:13:28 UTC 2022 - 3.1K bytes - Viewed (0) -
platforms/core-execution/workers/src/main/java/org/gradle/workers/internal/WorkerDaemonStarter.java
} public WorkerDaemonClient startDaemon(DaemonForkOptions forkOptions) { LOG.debug("Starting Gradle worker daemon with fork options {}.", forkOptions); Timer clock = Time.startTimer(); MultiRequestWorkerProcessBuilder<TransportableActionExecutionSpec, DefaultWorkResult> builder = workerDaemonProcessFactory.multiRequestWorker(WorkerDaemonServer.class); builder.setBaseName("Gradle Worker Daemon");
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jan 19 14:39:33 UTC 2024 - 4.5K bytes - Viewed (0) -
platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/steps/SkipEmptyIncrementalWorkStep.java
.map(PreviousExecutionState::getOutputFilesProducedByWork) .orElse(ImmutableSortedMap.of()); ExecutionOutcome skipOutcome; Timer timer = Time.startTimer(); String executionReason = null; if (outputFilesAfterPreviousExecution.isEmpty()) { LOGGER.info("Skipping {} as it has no source files and no previous output files.", work.getDisplayName());
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Nov 22 09:41:30 UTC 2023 - 5.6K bytes - Viewed (0) -
src/compress/lzw/reader_test.go
buf1 := getInputBuf(buf, n) runtime.GC() b.StartTimer() for i := 0; i < b.N; i++ { io.Copy(io.Discard, NewReader(bytes.NewReader(buf1), LSB, 8)) } }) b.Run(fmt.Sprint("1e-Reuse", e), func(b *testing.B) { b.StopTimer() b.SetBytes(int64(n)) buf1 := getInputBuf(buf, n) runtime.GC() b.StartTimer() r := NewReader(bytes.NewReader(buf1), LSB, 8)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 18 16:57:58 UTC 2024 - 7.6K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/store/CachedStoreFactory.java
T out = cache.getIfPresent(id); if (out != null) { stats.readFromCache(); return out; } Timer timer = Time.startTimer(); T value = createIfNotPresent.get(); stats.readFromDisk(timer.getElapsedMillis()); cache.put(id, value); return value; } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 16 15:49:50 UTC 2024 - 3.9K bytes - Viewed (0) -
platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/DefaultCacheCleanupExecutor.java
@Override public void run(BuildOperationContext context) { DefaultCleanupProgressMonitor progressMonitor = new DefaultCleanupProgressMonitor(context); Timer timer = Time.startTimer(); try { cacheCleanupStrategy.getCleanupAction().clean(cleanableStore, progressMonitor); FileUtils.touch(gcFile);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 14 16:53:17 UTC 2024 - 5.7K bytes - Viewed (0) -
platforms/software/testing-base/src/main/java/org/gradle/api/internal/tasks/testing/junit/result/Binary2JUnitXmlReportGenerator.java
this.buildOperationRunner = buildOperationRunner; this.buildOperationExecutor = buildOperationExecutor; } public void generate() { Timer clock = Time.startTimer(); buildOperationRunner.run(new RunnableBuildOperation() { @Override public void run(BuildOperationContext context) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 08 12:54:04 UTC 2024 - 5.5K bytes - Viewed (0)