- Sort Score
- Num 10 results
- Language All
Results 91 - 100 of 229 for benchmark (0.07 seconds)
-
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) -
benchmarks/src/main/java/org/elasticsearch/benchmark/script/ScriptScoreBenchmark.java
w.addDocument(List.of(new SortedNumericDocValuesField("n", i))); } w.commit(); } reader = DirectoryReader.open(directory); } @Benchmark public TopDocs benchmark() throws IOException { TopDocs topDocs = new IndexSearcher(reader).search(scriptScoreQuery(factory), 10); if (topDocs.scoreDocs[0].score != 1_000_000) {
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Mon Sep 20 13:45:50 GMT 2021 - 8.1K 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/benchmark/search/aggregations/AggConstructionContentionBenchmark.java
} bigArrays = new BigArrays(recycler, breakerService, "request"); } @Benchmark public void sum() throws IOException { buildFactories(new AggregatorFactories.Builder().addAggregator(new SumAggregationBuilder("s").field("int_1"))); } @Benchmark public void termsSum() throws IOException { buildFactories(Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Wed Jun 16 08:22:22 GMT 2021 - 12.3K bytes - Click Count (0) -
guava-tests/benchmark/com/google/common/collect/SetCreationBenchmark.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 org.jspecify.annotations.NullUnmarked; /**
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 1.8K bytes - Click Count (0) -
benchmarks/src/main/java/org/elasticsearch/common/bytes/BytesArrayReadLongBenchmark.java
import org.elasticsearch.common.io.stream.StreamInput; import org.elasticsearch.common.unit.ByteSizeUnit; import org.elasticsearch.common.unit.ByteSizeValue; 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.3K bytes - Click Count (0) -
benchmarks/src/main/java/org/elasticsearch/common/bytes/PagedBytesReferenceReadLongBenchmark.java
import org.elasticsearch.common.io.stream.StreamInput; import org.elasticsearch.common.unit.ByteSizeUnit; import org.elasticsearch.common.unit.ByteSizeValue; 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.3K bytes - Click Count (0) -
benchmarks/src/main/java/org/elasticsearch/common/RoundingBenchmark.java
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 08 16:53:28 GMT 2021 - 4.1K 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) -
compat/maven-model/src/test/java/org/apache/maven/model/v4/Xpp3DomPerfTest.java
import java.nio.file.Paths; import java.util.List; import java.util.concurrent.TimeUnit; import java.util.stream.Collectors; import org.apache.maven.api.model.InputSource; import org.openjdk.jmh.annotations.Benchmark; import org.openjdk.jmh.annotations.BenchmarkMode; import org.openjdk.jmh.annotations.Level; import org.openjdk.jmh.annotations.Measurement; import org.openjdk.jmh.annotations.Mode;
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Mon Sep 29 14:45:25 GMT 2025 - 3.3K bytes - Click Count (0)