- Sort Score
- Num 10 results
- Language All
Results 121 - 130 of 147 for Benchmarks (0.11 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
guava-tests/benchmark/com/google/common/collect/SetContainsBenchmark.java
this.setToTest = (Set<Element>) impl.create(sampleData.getValuesInSet()); this.queries = sampleData.getQueries(); } @Benchmark boolean contains(int reps) { // Paranoia: acting on hearsay that accessing fields might be slow // Should write a benchmark to test that! Set<Element> set = setToTest; Element[] queries = this.queries; int mask = queries.length - 1;Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 2.5K bytes - Click Count (0) -
android/guava-tests/benchmark/com/google/common/collect/SetIterationBenchmark.java
* See the License for the specific language governing permissions and * limitations under the License. */ package com.google.common.collect; import com.google.caliper.BeforeExperiment; import com.google.caliper.Benchmark; import com.google.caliper.Param; import com.google.common.collect.BenchmarkHelpers.SetImpl; import com.google.common.collect.CollectionBenchmarkSampleData.Element; import java.util.Set;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 2K bytes - Click Count (0) -
benchmarks/src/main/java/org/elasticsearch/common/bytes/PagedBytesReferenceReadVIntBenchmark.java
*/ package org.elasticsearch.common.bytes; import org.elasticsearch.common.io.stream.BytesStreamOutput; import org.elasticsearch.common.io.stream.StreamInput; import org.openjdk.jmh.annotations.Benchmark; import org.openjdk.jmh.annotations.BenchmarkMode; import org.openjdk.jmh.annotations.Fork; import org.openjdk.jmh.annotations.Measurement; import org.openjdk.jmh.annotations.Mode;
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Mon Apr 12 20:25:06 GMT 2021 - 2.2K bytes - Click Count (0) -
benchmarks/src/main/java/org/elasticsearch/common/bytes/PagedBytesReferenceReadVLongBenchmark.java
*/ package org.elasticsearch.common.bytes; import org.elasticsearch.common.io.stream.BytesStreamOutput; import org.elasticsearch.common.io.stream.StreamInput; import org.openjdk.jmh.annotations.Benchmark; import org.openjdk.jmh.annotations.BenchmarkMode; import org.openjdk.jmh.annotations.Fork; import org.openjdk.jmh.annotations.Measurement; import org.openjdk.jmh.annotations.Mode;
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Mon Apr 12 20:25:06 GMT 2021 - 2.2K bytes - Click Count (0) -
android/guava-tests/benchmark/com/google/common/cache/LoadingCacheSingleThreadBenchmark.java
import com.google.caliper.AfterExperiment; import com.google.caliper.BeforeExperiment; import com.google.caliper.Benchmark; import com.google.caliper.Param; import com.google.common.primitives.Ints; import java.util.Random; import java.util.concurrent.atomic.AtomicLong; import org.jspecify.annotations.NullUnmarked; /** * Single-threaded benchmark for {@link LoadingCache}. * * @author Charles Fry */ @NullUnmarkedCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 3.4K bytes - Click Count (0) -
android/guava-tests/pom.xml
<executions> <execution> <id>add-benchmark-sources</id> <phase>generate-test-sources</phase> <goals><goal>add-test-source</goal></goals> <configuration> <sources> <source>benchmark</source> </sources> </configuration> </execution> </executions>
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 05 03:10:05 GMT 2025 - 4.1K bytes - Click Count (0) -
benchmarks/src/main/java/org/elasticsearch/common/bytes/BytesArrayReadVLongBenchmark.java
*/ package org.elasticsearch.common.bytes; import org.elasticsearch.common.io.stream.BytesStreamOutput; import org.elasticsearch.common.io.stream.StreamInput; import org.openjdk.jmh.annotations.Benchmark; import org.openjdk.jmh.annotations.BenchmarkMode; import org.openjdk.jmh.annotations.Fork; import org.openjdk.jmh.annotations.Measurement; import org.openjdk.jmh.annotations.Mode;
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Mon Apr 12 20:25:06 GMT 2021 - 2.2K bytes - Click Count (0) -
guava-tests/benchmark/com/google/common/base/ToStringHelperBenchmark.java
* See the License for the specific language governing permissions and * limitations under the License. */ package com.google.common.base; import com.google.caliper.Benchmark; import com.google.caliper.Param; import java.util.Arrays; import java.util.Collections; import org.jspecify.annotations.NullUnmarked; /** * Some microbenchmarks for the {@link MoreObjects.ToStringHelper} class.Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 4.4K bytes - Click Count (0) -
internal/dsync/dsync_test.go
} func BenchmarkMutexWorkSlack(b *testing.B) { benchmarkMutex(b, true, true) } func BenchmarkMutexNoSpin(b *testing.B) { b.ResetTimer() b.ReportAllocs() // This benchmark models a situation where spinning in the mutex should be // non-profitable and allows to confirm that spinning does not do harm. // To achieve this we create excess of goroutines most of which do local work.
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 10.8K bytes - Click Count (0) -
android/guava-tests/benchmark/com/google/common/util/concurrent/FuturesGetCheckedBenchmark.java
import static com.google.common.util.concurrent.FuturesGetChecked.weakSetValidator; import com.google.caliper.BeforeExperiment; import com.google.caliper.Benchmark; import com.google.caliper.Param; import com.google.common.collect.ImmutableSet; import com.google.common.util.concurrent.FuturesGetChecked.GetCheckedTypeValidator; import java.io.IOException;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 6.5K bytes - Click Count (0)