Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 119 for benchmark (0.07 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. cmd/benchmark-utils_test.go

    	// md5sum of the data to written is required as input for PutObject.
    
    	md5hex := getMD5Hash(textData)
    	sha256hex := ""
    
    	// benchmark utility which helps obtain number of allocations and bytes allocated per ops.
    	b.ReportAllocs()
    	// the actual benchmark for PutObject starts here. Reset the benchmark timer.
    
    	for i := 0; b.Loop(); i++ {
    		// insert the object.
    		objInfo, err := obj.PutObject(b.Context(), bucket, "object"+strconv.Itoa(i),
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 8.1K bytes
    - Click Count (0)
  2. android/guava-tests/benchmark/com/google/common/math/IntMathBenchmark.java

          ints[i] = RANDOM_SOURCE.nextInt();
        }
      }
    
      @Benchmark
      int pow(int reps) {
        int tmp = 0;
        for (int i = 0; i < reps; i++) {
          int j = i & ARRAY_MASK;
          tmp += IntMath.pow(positive[j], exponent[j]);
        }
        return tmp;
      }
    
      @Benchmark
      int mod(int reps) {
        int tmp = 0;
        for (int i = 0; i < reps; i++) {
          int j = i & ARRAY_MASK;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed May 14 19:40:47 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  3. guava-tests/benchmark/com/google/common/base/StopwatchBenchmark.java

    import com.google.caliper.Benchmark;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Simple benchmark: create, start, read. This does not currently report the most useful result
     * because it's ambiguous to what extent the stopwatch benchmark is being affected by GC.
     *
     * @author Kevin Bourrillion
     */
    @NullUnmarked
    public class StopwatchBenchmark {
      @Benchmark
      long stopwatch(int reps) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Aug 11 19:31:30 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  4. android/guava-tests/benchmark/com/google/common/collect/IteratorBenchmark.java

          arrayList.add(value);
          linkedList.add(value);
        }
      }
    
      @Benchmark
      int arrayIndexed(int reps) {
        int sum = 0;
        for (int i = 0; i < reps; i++) {
          for (int index = 0; index < size; index++) {
            sum += array[index].hashCode();
          }
        }
        return sum;
      }
    
      @Benchmark
      int arrayIndexedLength(int reps) {
        int sum = 0;
        for (int i = 0; i < reps; i++) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 3.5K bytes
    - Click Count (0)
  5. internal/s3select/select_benchmark_test.go

    }
    
    // BenchmarkSelectAll_100K - benchmark * function with 100k records.
    func BenchmarkSelectAll_100K(b *testing.B) {
    	benchmarkSelectAll(b, 100*humanize.KiByte)
    }
    
    // BenchmarkSelectAll_1M - benchmark * function with 1m records.
    func BenchmarkSelectAll_1M(b *testing.B) {
    	benchmarkSelectAll(b, 1*humanize.MiByte)
    }
    
    // BenchmarkSelectAll_2M - benchmark * function with 2m records.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 5K bytes
    - Click Count (0)
  6. guava-tests/benchmark/com/google/common/util/concurrent/SingleThreadAbstractFutureBenchmark.java

        }
        return r;
      }
    
      @Benchmark
      public long timeGetWith0Timeout(long reps) throws Exception {
        Facade<?> f = notDoneFuture;
        long r = 0;
        for (int i = 0; i < reps; i++) {
          try {
            f.get(0, SECONDS);
            r += 1;
          } catch (TimeoutException e) {
            r += 2;
          }
        }
        return r;
      }
    
      @Benchmark
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 3.7K bytes
    - Click Count (0)
  7. android/guava-tests/benchmark/com/google/common/base/StopwatchBenchmark.java

    import com.google.caliper.Benchmark;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Simple benchmark: create, start, read. This does not currently report the most useful result
     * because it's ambiguous to what extent the stopwatch benchmark is being affected by GC.
     *
     * @author Kevin Bourrillion
     */
    @NullUnmarked
    public class StopwatchBenchmark {
      @Benchmark
      long stopwatch(int reps) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Aug 11 19:31:30 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  8. tests/benchmarks/test_general_performance.py

    
    def test_sync_return_dict_without_response_model(benchmark, client: TestClient) -> None:
        status_code, body = _bench_get(benchmark, client, "/sync/dict-no-response-model")
        assert status_code == 200
        assert body == b'{"name":"foo","value":123}'
    
    
    def test_sync_return_dict_with_response_model(benchmark, client: TestClient) -> None:
        status_code, body = _bench_get(benchmark, client, "/sync/dict-with-response-model")
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Dec 26 20:40:26 GMT 2025
    - 11.1K bytes
    - Click Count (0)
  9. android/guava-tests/benchmark/com/google/common/hash/HashCodeBenchmark.java

    import com.google.caliper.BeforeExperiment;
    import com.google.caliper.Benchmark;
    import com.google.caliper.Param;
    import java.security.MessageDigest;
    import java.util.Arrays;
    import java.util.Random;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Benchmarks for comparing the various {@link HashCode#equals} methods.
     *
     * <p>Parameters for the benchmark are:
     *
     * <ul>
     *   <li>size: the length of the byte array to hash
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Aug 11 19:31:30 GMT 2025
    - 4K bytes
    - Click Count (0)
  10. android/guava-tests/benchmark/com/google/common/util/concurrent/SingleThreadAbstractFutureBenchmark.java

        }
        return r;
      }
    
      @Benchmark
      public long timeGetWith0Timeout(long reps) throws Exception {
        Facade<?> f = notDoneFuture;
        long r = 0;
        for (int i = 0; i < reps; i++) {
          try {
            f.get(0, SECONDS);
            r += 1;
          } catch (TimeoutException e) {
            r += 2;
          }
        }
        return r;
      }
    
      @Benchmark
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 3.7K bytes
    - Click Count (0)
Back to Top