Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 389 for BenchmarkZ (0.14 sec)

  1. tensorflow/compiler/aot/benchmark_main.template

      Eigen::ThreadPoolDevice device(&pool, pool.NumThreads());
    
      CPP_CLASS computation;
      computation.set_thread_pool(&device);
    
      benchmark::Options options;
      benchmark::Stats stats;
      benchmark::Benchmark(options, [&] { computation.Run(); }, &stats);
      benchmark::DumpStatsToStdout(stats);
      return 0;
    }
    
    }  // namespace tfcompile
    }  // namespace tensorflow
    
    int main(int argc, char** argv) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Oct 19 20:05:05 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  2. src/cmd/internal/test2json/testdata/bench.json

    {"Action":"output","Test":"BenchmarkFoo-8","Output":"\tx_test.go:8: My benchmark\n"}
    {"Action":"output","Test":"BenchmarkFoo-8","Output":"\tx_test.go:8: My benchmark\n"}
    {"Action":"output","Test":"BenchmarkFoo-8","Output":"\tx_test.go:8: My benchmark\n"}
    {"Action":"output","Test":"BenchmarkFoo-8","Output":"\tx_test.go:8: My benchmark\n"}
    {"Action":"output","Test":"BenchmarkFoo-8","Output":"\tx_test.go:8: My benchmark\n"}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 09 17:33:07 UTC 2022
    - 956 bytes
    - Viewed (0)
  3. platforms/core-execution/build-cache/src/jmh/java/org/gradle/caching/internal/tasks/ChmodBenchmark.java

            FileUtils.forceDelete(tempDirFile);
        }
    
        @Benchmark
        public void createFileJava6(Blackhole blackhole) throws IOException {
            File file = new File(tempDirFile, "file-" + counter.incrementAndGet());
            boolean created = file.createNewFile();
            blackhole.consume(created);
        }
    
        @Benchmark
        public void createFileJava7(Blackhole blackhole) throws IOException {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 12:13:32 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  4. android/guava-tests/benchmark/com/google/common/collect/ImmutableListCreationBenchmark.java

    import com.google.caliper.Benchmark;
    import com.google.caliper.Param;
    import java.util.List;
    
    /**
     * Benchmark for various ways to create an {@code ImmutableList}.
     *
     * @author Louis Wasserman
     */
    public class ImmutableListCreationBenchmark {
    
      @Param({"10", "1000", "1000000"})
      int size;
    
      private static final Object OBJECT = new Object();
    
      @Benchmark
      int builderAdd(int reps) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 2.3K bytes
    - Viewed (0)
  5. tensorflow/c/kernels/summary_op_benchmark_test.cc

      void BM_ScalarSummary##name##device(::testing::benchmark::State& state) { \
        TensorShape tensorshape(DIMARGS dims);                                  \
        auto g = BM_ScalarSummaryOp(tensorshape, #tag, value);                  \
        test::Benchmark("cpu", g, /*old_benchmark_api=*/false).Run(state);      \
      }                                                                         \
      BENCHMARK(BM_ScalarSummary##name##device);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Nov 25 00:59:20 UTC 2020
    - 2.7K bytes
    - Viewed (0)
  6. tensorflow/cc/experimental/libtf/tests/perf_test.cc

    // pointer.
    void CallFunctionsBase(::testing::benchmark::State& state) {
      int64_t sum = 0;
      typedef int64_t (*Func)(int64_t a, int64_t b);
      volatile Func f_raw = AddRaw;
      Func f = f_raw;
      size_t i = 0;
      for (auto dummy : state) {
        sum = f(sum, i);
        i++;
      }
      // volatile int64_t result = sum;
    }
    
    BENCHMARK(CallFunctions)->Arg(1 << 10);
    BENCHMARK(CallFunctionsIndirect)->Arg(1 << 10);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jul 15 16:58:38 UTC 2021
    - 3K bytes
    - Viewed (0)
  7. cmd/url_test.go

    	if err != nil {
    		b.Fatal(err)
    	}
    
    	// 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.
    	b.ResetTimer()
    
    	if err := req.ParseForm(); err != nil {
    		b.Fatal(err)
    	}
    
    	b.RunParallel(func(pb *testing.PB) {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Nov 16 17:28:29 UTC 2021
    - 2K bytes
    - Viewed (0)
  8. src/testing/benchmark_test.go

    		}
    	})
    }
    
    func TestRunParallelFail(t *testing.T) {
    	testing.Benchmark(func(b *testing.B) {
    		b.RunParallel(func(pb *testing.PB) {
    			// The function must be able to log/abort
    			// w/o crashing/deadlocking the whole benchmark.
    			b.Log("log")
    			b.Error("error")
    		})
    	})
    }
    
    func TestRunParallelFatal(t *testing.T) {
    	testing.Benchmark(func(b *testing.B) {
    		b.RunParallel(func(pb *testing.PB) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  9. android/guava-tests/benchmark/com/google/common/base/ObjectsBenchmark.java

      }
    
      @Benchmark
      int hashString_4(int reps) {
        int dummy = 0;
        for (int i = 0; i < reps; i++) {
          dummy += Objects.hashCode(S0, S1, S2, S3);
        }
        return dummy;
      }
    
      @Benchmark
      int hashString_5(int reps) {
        int dummy = 0;
        for (int i = 0; i < reps; i++) {
          dummy += Objects.hashCode(S0, S1, S2, S3, S4);
        }
        return dummy;
      }
    
      @Benchmark
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 2.2K bytes
    - Viewed (0)
  10. 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++) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 3.4K bytes
    - Viewed (0)
Back to top