- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 514 for startTimer (0.85 sec)
-
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) -
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) -
src/compress/flate/reader_test.go
if len(buf0) > n-i { buf0 = buf0[:n-i] } io.Copy(w, bytes.NewReader(buf0)) } w.Close() buf1 := compressed.Bytes() buf0, compressed, w = nil, nil, nil runtime.GC() b.StartTimer() for i := 0; i < b.N; i++ { io.Copy(io.Discard, NewReader(bytes.NewReader(buf1))) } }) } var levelTests = []struct { name string level int }{ {"Huffman", HuffmanOnly},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Dec 09 19:12:23 UTC 2020 - 2.3K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/pruning/algorithm_test.go
if err != nil { b.Fatal(err) } instances := make([]map[string]interface{}, 0, b.N) for i := 0; i < b.N; i++ { instances = append(instances, runtime.DeepCopyJSON(obj)) } b.StartTimer() for i := 0; i < b.N; i++ { Prune(instances[i], schema, true) } } func BenchmarkDeepCopy(b *testing.B) { b.StopTimer() b.ReportAllocs() var obj map[string]interface{}
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 16 20:13:14 UTC 2024 - 20.3K 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) -
src/testing/benchmark.go
netAllocs uint64 netBytes uint64 // Extra metrics collected by ReportMetric. extra map[string]float64 } // StartTimer starts timing a test. This function is called automatically // before a benchmark starts, but it can also be used to resume timing after // a call to [B.StopTimer]. func (b *B) StartTimer() { if !b.timerOn { runtime.ReadMemStats(&memStats) b.startAllocs = memStats.Mallocs
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 23.9K bytes - Viewed (0) -
platforms/ide/tooling-api/src/integTest/groovy/org/gradle/integtests/tooling/ToolingApiIntegrationTest.groovy
def startMarkerFile = projectDir.file("start.marker") def foundStartMarker = startMarkerFile.exists() CountdownTimer startTimer = Time.startCountdownTimer(startTimeoutMs) while (handle.running && !foundStartMarker) { if (startTimer.hasExpired()) { throw new Exception("timeout waiting for start marker") } else { sleep retryIntervalMs
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 13.8K 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)