- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 389 for BenchmarkZ (0.6 sec)
-
src/log/slog/internal/benchmarks/benchmarks_test.go
// Copyright 2022 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package benchmarks import ( "context" "flag" "internal/race" "io" "log/slog" "log/slog/internal" "testing" ) func init() { flag.BoolVar(&internal.IgnorePC, "nopc", false, "do not invoke runtime.Callers") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 04 18:32:54 UTC 2023 - 4.5K bytes - Viewed (0) -
src/testing/sub_test.go
} func TestBenchmarkOutput(t *T) { // Ensure Benchmark initialized common.w by invoking it with an error and // normal case. Benchmark(func(b *B) { b.Error("do not print this output") }) Benchmark(func(b *B) {}) } func TestBenchmarkStartsFrom1(t *T) { var first = true Benchmark(func(b *B) { if first && b.N != 1 { panic(fmt.Sprintf("Benchmark() first N=%v; want 1", b.N)) } first = false })
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Dec 01 21:27:08 UTC 2023 - 23.8K bytes - Viewed (0) -
test/fibo.go
// fibo <n> compute fibonacci(n), n must be >= 0 // fibo -bench benchmark fibonacci computation (takes about 1 min) // // Additional flags: // -half add values using two half-digit additions // -opt optimize memory allocation through reuse // -short only print the first 10 digits of very large fibonacci numbers // Command fibo is a stand-alone test and benchmark to // evaluate the performance of bignum arithmetic written
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 08 22:22:58 UTC 2014 - 6.3K bytes - Viewed (0) -
src/cmd/go/internal/load/test.go
return err } t.Tests = append(t.Tests, testFunc{pkg, name, "", false}) *doImport, *seen = true, true case isTest(name, "Benchmark"): err := checkTestFunc(n, "B") if err != nil { return err } t.Benchmarks = append(t.Benchmarks, testFunc{pkg, name, "", false}) *doImport, *seen = true, true case isTest(name, "Fuzz"): err := checkTestFunc(n, "F") if err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 14:01:23 UTC 2024 - 28.2K bytes - Viewed (0) -
tensorflow/compiler/aot/tfcompile.bzl
namespace. gen_test: If True, also generate a cc_test rule that builds a simple test and benchmark. gen_benchmark: If True, also generate a binary with a simple benchmark. Unlike the output of gen_test, this benchmark can be run on android. gen_compiler_log: If True, dumps XLA:CPU debug output to a log file. visibility: Bazel build visibility.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 02 19:18:08 UTC 2024 - 21.8K bytes - Viewed (0) -
src/cmd/internal/test2json/testdata/bench.test
goos: darwin goarch: 386 BenchmarkFoo-8 2000000000 0.00 ns/op --- BENCH: BenchmarkFoo-8 x_test.go:8: My benchmark x_test.go:8: My benchmark x_test.go:8: My benchmark x_test.go:8: My benchmark x_test.go:8: My benchmark x_test.go:8: My benchmark PASS
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jan 05 22:27:17 UTC 2018 - 302 bytes - Viewed (0) -
tensorflow/compiler/aot/benchmark_test.cc
#include "tensorflow/compiler/aot/benchmark.h" #include "tensorflow/compiler/aot/test_graph_tfadd.h" #include "tensorflow/core/platform/test.h" namespace tensorflow { namespace tfcompile { namespace benchmark { namespace { // There isn't much we can verify in a stable fashion, so we just run the // benchmark with max_iters, and ensure we end up with that many iter stats.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Jan 09 20:26:35 UTC 2017 - 1.4K bytes - Viewed (0) -
src/cmd/go/internal/test/test.go
element in the sequence, if any. Possible parents of matches are run with b.N=1 to identify sub-benchmarks. For example, given -bench=X/Y, top-level benchmarks matching X are run with b.N=1 to find any sub-benchmarks matching Y, which are then run in full. -benchtime t Run enough iterations of each benchmark to take t, specified as a time.Duration (for example, -benchtime 1h30s).
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 14:34:32 UTC 2024 - 71.9K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/runtime/serializer/json/json_limit_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Oct 20 16:49:23 UTC 2021 - 4.5K bytes - Viewed (0) -
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.
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Apr 14 13:54:47 UTC 2022 - 5K bytes - Viewed (0)