- Sort Score
- Num 10 results
- Language All
Results 31 - 40 of 56 for cheap (0.27 seconds)
-
.teamcity/src/main/kotlin/model/PerformanceTestSpec.kt
if (os == Os.WINDOWS) { listOf("jprofiler") } else { listOf("async-profiler", "async-profiler-heap") }.map { FlameGraphGenerationBuildSpec(scenario, os, arch, it) } } } inner class FlameGraphGenerationBuildSpec(
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Feb 12 09:12:03 GMT 2025 - 3.8K bytes - Click Count (0) -
.teamcity/src/main/kotlin/util/AdHocPerformanceScenario.kt
allowEmpty = false, description = "Command line option for the performance test task to enable profiling. " + "For example `async-profiler`, `async-profiler-heap`, `async-profiler-wall`, `async-profiler-all` or `jfr`. Use `none` for benchmarking only.", ) } object AdHocPerformanceScenarioLinux : AdHocPerformanceScenario(Os.LINUX)Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Mon Mar 30 14:08:32 GMT 2026 - 6K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/testing/GcFinalization.java
@NullMarked public final class GcFinalization { private GcFinalization() {} /** * 10 seconds ought to be long enough for any object to be GC'ed and finalized. Unless we have a * gigantic heap, in which case we scale by heap size. */ private static long timeoutSeconds() { // This class can make no hard guarantees. The methods in this class are inherently flaky, butCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 20:19:19 GMT 2026 - 12.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/util/MemoryUtilTest.java
assertNotNull(log); assertTrue(log.startsWith("Mem:{used ")); assertTrue(log.contains(", heap ")); assertTrue(log.contains(", max ")); assertTrue(log.endsWith("}")); // Verify format contains expected memory units assertTrue(log.matches(".*used [0-9.]+[a-zA-Z]+, heap [0-9.]+[a-zA-Z]+, max [0-9.]+[a-zA-Z]+.*")); } @TestCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 12K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/DataStoreCrawlingExceptionTest.java
String url = "http://example.com/large-dataset"; String message = "Crawling failed due to memory exhaustion"; OutOfMemoryError error = new OutOfMemoryError("Heap space exhausted"); DataStoreCrawlingException exception = new DataStoreCrawlingException(url, message, error); assertEquals(url, exception.getUrl());Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 16.6K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/util/MemoryUtil.java
final long maxBytes = runtime.maxMemory(); final long totalBytes = runtime.totalMemory(); final long usedBytes = totalBytes - freeBytes; return "Mem:{used " + byteCountToDisplaySize(usedBytes) + ", heap " + byteCountToDisplaySize(totalBytes) + ", max " + byteCountToDisplaySize(maxBytes) + "}"; } /** * Converts byte count to human-readable size format. *
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 5.3K bytes - Click Count (0) -
android/guava-tests/benchmark/com/google/common/io/ByteSourceAsCharSourceReadBenchmark.java
import org.jspecify.annotations.NullUnmarked; /** * Benchmarks for various potential implementations of {@code ByteSource.asCharSource(...).read()}. */ // These benchmarks allocate a lot of data so use a large heap @VmOptions({"-Xms12g", "-Xmx12g", "-d64"}) @NullUnmarked public class ByteSourceAsCharSourceReadBenchmark { enum ReadStrategy { TO_BYTE_ARRAY_NEW_STRING { @OverrideCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 5.2K bytes - Click Count (0) -
guava-tests/benchmark/com/google/common/io/ByteSourceAsCharSourceReadBenchmark.java
import org.jspecify.annotations.NullUnmarked; /** * Benchmarks for various potential implementations of {@code ByteSource.asCharSource(...).read()}. */ // These benchmarks allocate a lot of data so use a large heap @VmOptions({"-Xms12g", "-Xmx12g", "-d64"}) @NullUnmarked public class ByteSourceAsCharSourceReadBenchmark { enum ReadStrategy { TO_BYTE_ARRAY_NEW_STRING { @OverrideCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 5.2K bytes - Click Count (0) -
guava-testlib/src/com/google/common/testing/GcFinalization.java
@NullMarked public final class GcFinalization { private GcFinalization() {} /** * 10 seconds ought to be long enough for any object to be GC'ed and finalized. Unless we have a * gigantic heap, in which case we scale by heap size. */ private static long timeoutSeconds() { // This class can make no hard guarantees. The methods in this class are inherently flaky, butCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 20:19:19 GMT 2026 - 12.3K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/timer/SystemMonitorTarget.java
buf.append("\"jvm\":{"); final JvmStats jvmStats = JvmStats.jvmStats(); final Mem mem = jvmStats.getMem(); buf.append("\"memory\":{"); buf.append("\"heap\":{"); append(buf, "used", () -> mem.getHeapUsed().getBytes()).append(','); append(buf, "committed", () -> mem.getHeapCommitted().getBytes()).append(',');
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 7.8K bytes - Click Count (0)