- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for measureSize (0.05 seconds)
-
android/guava-tests/benchmark/com/google/common/util/concurrent/AbstractFutureFootprintBenchmark.java
// larger than they are. @SuppressWarnings("FutureReturnValueIgnored") @Footprint(exclude = {Runnable.class, Executor.class, Thread.class, Exception.class}) public Object measureSize() { for (Thread thread : blockedThreads) { thread.interrupt(); } blockedThreads.clear(); Facade<Object> f = impl.newFacade(); for (int i = 0; i < numThreads; i++) { Thread thread =Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 3K bytes - Click Count (0) -
android/guava-tests/benchmark/com/google/common/util/concurrent/MoreExecutorsDirectExecutorBenchmark.java
} } @AfterExperiment void after() { for (Thread thread : threads) { thread.interrupt(); // try to get them to exit } threads.clear(); } @Footprint Object measureSize() { return executor; } @Benchmark int timeUncontendedExecute(int reps) { Executor executor = this.executor; CountingRunnable countingRunnable = this.countingRunnable;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 3.4K bytes - Click Count (0)