Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 81 - 90 of 229 for benchmarks (0.06 seconds)

  1. guava-tests/benchmark/com/google/common/util/concurrent/ExecutionListBenchmark.java

    import java.util.concurrent.atomic.AtomicInteger;
    import java.util.logging.Level;
    import java.util.logging.Logger;
    import org.jspecify.annotations.NullUnmarked;
    import org.jspecify.annotations.Nullable;
    
    /** Benchmarks for {@link ExecutionList}. */
    @VmOptions({"-Xms8g", "-Xmx8g"})
    @NullUnmarked
    public class ExecutionListBenchmark {
      private static final int NUM_THREADS = 10; // make a param?
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jul 16 17:42:14 GMT 2025
    - 15.8K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/math/IntMath.java

        return x > 0 & (x & (x - 1)) == 0;
      }
    
      /**
       * Returns 1 if {@code x < y} as unsigned integers, and 0 otherwise. Assumes that x - y fits into
       * a signed int. The implementation is branch-free, and benchmarks suggest it is measurably (if
       * narrowly) faster than the straightforward ternary expression.
       */
      @VisibleForTesting
      static int lessThanBranchFree(int x, int y) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 29 22:14:05 GMT 2026
    - 26.1K bytes
    - Click Count (0)
  3. cmd/erasure-encode_test.go

    			if err == nil {
    				if length := int64(len(data[test.offset:])); n != length {
    					t.Errorf("Test %d: invalid number of bytes written: got: #%d want #%d", i, n, length)
    				}
    			}
    		}
    	}
    }
    
    // Benchmarks
    
    func benchmarkErasureEncode(data, parity, dataDown, parityDown int, size int64, b *testing.B) {
    	setup, err := newErasureTestSetup(b, data, parity, blockSizeV2)
    	if err != nil {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 11.8K bytes
    - Click Count (0)
  4. docs/zh-hant/docs/index.md

    ## 效能 { #performance }
    
    獨立的 TechEmpower 基準測試顯示,在 Uvicorn 下運行的 **FastAPI** 應用是[最快的 Python 框架之一](https://www.techempower.com/benchmarks/#section=test&runid=7464e520-0dc2-473d-bd34-dbdfd7e85911&hw=ph&test=query&l=zijzen-7),僅次於 Starlette 與 Uvicorn 本身(FastAPI 內部使用它們)。(*)
    
    想了解更多,請參閱[測試結果](https://fastapi.tiangolo.com/zh-hant/benchmarks/)。
    
    ## 依賴套件 { #dependencies }
    
    FastAPI 依賴 Pydantic 與 Starlette。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 20.8K bytes
    - Click Count (0)
  5. guava/src/com/google/common/collect/TopKSelector.java

     * #offer} and a call to {@link #topK}, with O(k) memory. In comparison, quickselect has the same
     * asymptotics but requires O(n) memory, and a {@code PriorityQueue} implementation takes O(n log
     * k). In benchmarks, this implementation performs at least as well as either implementation, and
     * degrades more gracefully for worst-case input.
     *
     * <p>The implementation does not necessarily use a <i>stable</i> sorting algorithm; when multiple
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Aug 31 13:15:26 GMT 2025
    - 11.4K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/collect/TopKSelector.java

     * #offer} and a call to {@link #topK}, with O(k) memory. In comparison, quickselect has the same
     * asymptotics but requires O(n) memory, and a {@code PriorityQueue} implementation takes O(n log
     * k). In benchmarks, this implementation performs at least as well as either implementation, and
     * degrades more gracefully for worst-case input.
     *
     * <p>The implementation does not necessarily use a <i>stable</i> sorting algorithm; when multiple
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Aug 31 13:15:26 GMT 2025
    - 11.3K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/collect/Ordering.java

       * than this method, and this method in turn generally performs better than copying the list and
       * calling {@link Collections#sort(List)}.
       */
      // TODO(kevinb): rerun benchmarks including new options
      public <E extends T> List<E> sortedCopy(Iterable<E> elements) {
        @SuppressWarnings("unchecked") // does not escape, and contains only E's
        E[] array = (E[]) Iterables.toArray(elements);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 39.4K bytes
    - Click Count (0)
  8. guava-tests/benchmark/com/google/common/collect/ConcurrentHashMultisetBenchmark.java

      }
    
      @Benchmark
      long add(int reps) throws ExecutionException, InterruptedException {
        return doMultithreadedLoop(
            new Callable<Long>() {
              @Override
              public Long call() {
                return runAddSingleThread(reps);
              }
            });
      }
    
      @Benchmark
      long addRemove(int reps) throws ExecutionException, InterruptedException {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Jul 14 14:44:08 GMT 2025
    - 16.6K bytes
    - Click Count (0)
  9. ci/official/utilities/code_check_full.bats

    //tensorflow/core/tfrt
    //tensorflow/python/kernel_tests/signal
    //tensorflow/examples
    //tensorflow/tools/android
    //tensorflow/python/eager/benchmarks
    EOF
    
      # grep patterns for files and targets which don't need to be in the pip
      # package, ever.
      cat > $BATS_TEST_TMPDIR/ignore_these_deps <<EOF
    benchmark
    _test$
    _test.py$
    _test_cpu$
    _test_cpu.py$
    _test_gpu$
    _test_gpu.py$
    _test_lib$
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Wed Jan 28 22:41:17 GMT 2026
    - 13.6K bytes
    - Click Count (0)
  10. cmd/object-api-interface.go

    	DeleteObjectTags(context.Context, string, string, ObjectOptions) (ObjectInfo, error)
    }
    
    // GetObject - TODO(aead): This function just acts as an adapter for GetObject tests and benchmarks
    // since the GetObject method of the ObjectLayer interface has been removed. Once, the
    // tests are adjusted to use GetObjectNInfo this function can be removed.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 17.5K bytes
    - Click Count (0)
Back to Top