Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for footprint (0.18 sec)

  1. android/guava-tests/benchmark/com/google/common/collect/MapsMemoryBenchmark.java

    import static com.google.common.collect.Maps.uniqueIndex;
    
    import com.google.caliper.BeforeExperiment;
    import com.google.caliper.Benchmark;
    import com.google.caliper.Param;
    import com.google.caliper.api.Footprint;
    import com.google.common.collect.BenchmarkHelpers.BiMapImpl;
    import com.google.common.collect.BenchmarkHelpers.MapImpl;
    import com.google.common.collect.BenchmarkHelpers.MapsImplEnum;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 20 15:07:46 GMT 2019
    - 3.4K bytes
    - Viewed (0)
  2. guava-tests/benchmark/com/google/common/util/concurrent/MoreExecutorsDirectExecutorBenchmark.java

    import com.google.caliper.AfterExperiment;
    import com.google.caliper.BeforeExperiment;
    import com.google.caliper.Benchmark;
    import com.google.caliper.Param;
    import com.google.caliper.api.Footprint;
    import com.google.caliper.api.VmOptions;
    import java.util.HashSet;
    import java.util.Set;
    import java.util.concurrent.Executor;
    import java.util.concurrent.atomic.AtomicInteger;
    
    /**
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 3.4K bytes
    - Viewed (0)
  3. android/guava-tests/benchmark/com/google/common/util/concurrent/MoreExecutorsDirectExecutorBenchmark.java

    import com.google.caliper.AfterExperiment;
    import com.google.caliper.BeforeExperiment;
    import com.google.caliper.Benchmark;
    import com.google.caliper.Param;
    import com.google.caliper.api.Footprint;
    import com.google.caliper.api.VmOptions;
    import java.util.HashSet;
    import java.util.Set;
    import java.util.concurrent.Executor;
    import java.util.concurrent.atomic.AtomicInteger;
    
    /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 3.4K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/primitives/ImmutableIntArray.java

     *   <li>Access to all collection-based utilities via {@link #asList} (though at the cost of
     *       allocating garbage).
     * </ul>
     *
     * <p>Disadvantages compared to {@code int[]}:
     *
     * <ul>
     *   <li>Memory footprint has a fixed overhead (about 24 bytes per instance).
     *   <li><i>Some</i> construction use cases force the data to be copied (though several construction
     *       APIs are offered that don't).
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 16:34:24 GMT 2023
    - 18.9K bytes
    - Viewed (0)
  5. android/guava-tests/benchmark/com/google/common/util/concurrent/ExecutionListBenchmark.java

    import com.google.caliper.AfterExperiment;
    import com.google.caliper.BeforeExperiment;
    import com.google.caliper.Benchmark;
    import com.google.caliper.Param;
    import com.google.caliper.api.Footprint;
    import com.google.caliper.api.VmOptions;
    import com.google.common.base.Preconditions;
    import com.google.common.collect.Lists;
    import com.google.common.util.concurrent.AbstractFutureBenchmarks.OldAbstractFuture;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 17 15:19:38 GMT 2023
    - 20.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/primitives/ImmutableDoubleArray.java

     *   <li>Access to all collection-based utilities via {@link #asList} (though at the cost of
     *       allocating garbage).
     * </ul>
     *
     * <p>Disadvantages compared to {@code double[]}:
     *
     * <ul>
     *   <li>Memory footprint has a fixed overhead (about 24 bytes per instance).
     *   <li><i>Some</i> construction use cases force the data to be copied (though several construction
     *       APIs are offered that don't).
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 16:34:24 GMT 2023
    - 19.6K bytes
    - Viewed (0)
  7. guava-tests/benchmark/com/google/common/util/concurrent/ExecutionListBenchmark.java

    import com.google.caliper.AfterExperiment;
    import com.google.caliper.BeforeExperiment;
    import com.google.caliper.Benchmark;
    import com.google.caliper.Param;
    import com.google.caliper.api.Footprint;
    import com.google.caliper.api.VmOptions;
    import com.google.common.base.Preconditions;
    import com.google.common.collect.Lists;
    import com.google.common.util.concurrent.AbstractFutureBenchmarks.OldAbstractFuture;
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Apr 17 15:19:38 GMT 2023
    - 20.4K bytes
    - Viewed (0)
  8. guava-tests/benchmark/com/google/common/util/concurrent/StripedBenchmark.java

        bulkGetSet = ImmutableList.copyOf(limit(cycle(asList), 10));
      }
    
      @Footprint
      Object sizeOfStriped() {
        return impl.get(numStripes);
      }
    
      // a place to put the locks in sizeOfPopulatedStriped so they don't get GC'd before we measure
      final List<Lock> locks = new ArrayList<>(numStripes);
    
      @Footprint
      Object sizeOfPopulatedStriped() {
        locks.clear();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4K bytes
    - Viewed (0)
  9. android/guava-tests/benchmark/com/google/common/util/concurrent/StripedBenchmark.java

        bulkGetSet = ImmutableList.copyOf(limit(cycle(asList), 10));
      }
    
      @Footprint
      Object sizeOfStriped() {
        return impl.get(numStripes);
      }
    
      // a place to put the locks in sizeOfPopulatedStriped so they don't get GC'd before we measure
      final List<Lock> locks = new ArrayList<>(numStripes);
    
      @Footprint
      Object sizeOfPopulatedStriped() {
        locks.clear();
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/Striped.java

     * lock, but also maximizes memory footprint. On the other extreme, one could use a single lock for
     * all tasks, which minimizes memory footprint but also minimizes concurrency. Instead of choosing
     * either of these extremes, {@code Striped} allows the user to trade between required concurrency
     * and memory footprint. For example, if a set of tasks are CPU-bound, one could easily create a
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 10 20:55:18 GMT 2023
    - 20.3K bytes
    - Viewed (1)
Back to top