- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for benchmarkName (0.29 sec)
-
src/testing/benchmark.go
func (r BenchmarkResult) MemString() string { return fmt.Sprintf("%8d B/op\t%8d allocs/op", r.AllocedBytesPerOp(), r.AllocsPerOp()) } // benchmarkName returns full name of benchmark including procs suffix. func benchmarkName(name string, n int) string { if n != 1 { return fmt.Sprintf("%s-%d", name, n) } return name } type benchContext struct { match *matcher
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 23.9K bytes - Viewed (0) -
src/unique/handle_bench_test.go
package unique import ( "fmt" "runtime" "testing" ) func BenchmarkMake(b *testing.B) { benchmarkMake(b, []string{"foo"}) } func BenchmarkMakeMany(b *testing.B) { benchmarkMake(b, testData[:]) } func BenchmarkMakeManyMany(b *testing.B) { benchmarkMake(b, testDataLarge[:]) } func benchmarkMake(b *testing.B, testData []string) { handles := make([]Handle[string], 0, len(testData))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 22 18:14:07 UTC 2024 - 1.1K bytes - Viewed (0) -
src/cmd/go/testdata/script/test_race.txt
[short] skip [!race] skip go test testrace ! go test -race testrace stdout 'FAIL: TestRace' ! stdout 'PASS' ! stderr 'PASS' ! go test -race testrace -run XXX -bench . stdout 'FAIL: BenchmarkRace' ! stdout 'PASS' ! stderr 'PASS' -- go.mod -- module testrace go 1.16 -- race_test.go -- package testrace import "testing" func TestRace(t *testing.T) { for i := 0; i < 10; i++ {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 17 13:25:29 UTC 2020 - 640 bytes - Viewed (0) -
src/cmd/go/testdata/script/test_race_cover_mode_issue20435.txt
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 17 13:25:29 UTC 2020 - 680 bytes - Viewed (0) -
tensorflow/compiler/aot/tfcompile.bzl
) if gen_benchmark: benchmark_name = name + "_benchmark" benchmark_file = benchmark_name + ".cc" benchmark_main = ("//tensorflow/compiler/aot:" + "benchmark_main.template") # Rule to rewrite benchmark.cc to produce the benchmark_file. native.genrule( name = ("gen_" + benchmark_name), srcs = [ benchmark_main,
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/go/types/named_test.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package types_test import ( "go/ast" "go/token" "testing" . "go/types" ) func BenchmarkNamed(b *testing.B) { const src = ` package p type T struct { P int } func (T) M(int) {} func (T) N() (i int) { return } type G[P any] struct { F P } func (G[P]) M(P) {}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 05 16:29:58 UTC 2024 - 3.9K bytes - Viewed (0) -
src/cmd/compile/internal/types2/named_test.go
// license that can be found in the LICENSE file. package types2_test import ( "testing" "cmd/compile/internal/syntax" . "cmd/compile/internal/types2" ) func BenchmarkNamed(b *testing.B) { const src = ` package p type T struct { P int } func (T) M(int) {} func (T) N() (i int) { return } type G[P any] struct { F P } func (G[P]) M(P) {}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 16 21:06:56 UTC 2024 - 3.6K bytes - Viewed (0) -
src/time/time_test.go
for i := 0; i < b.N; i++ { _ = t.Hour() } } func BenchmarkSecond(b *testing.B) { t := Now() for i := 0; i < b.N; i++ { _ = t.Second() } } func BenchmarkDate(b *testing.B) { t := Now() for i := 0; i < b.N; i++ { _, _, _ = t.Date() } } func BenchmarkYear(b *testing.B) { t := Now() for i := 0; i < b.N; i++ { _ = t.Year() }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:13:47 UTC 2024 - 56.5K bytes - Viewed (0) -
src/internal/trace/traceviewer/static/trace_viewer_full.html
istogram('reported_by_page:time_to_interactive',timeDurationInMs_smallerIsBetter,[],{binBoundaries:METRIC_BOUNDARIES,description:'Time from navigation start '+'to telemetry:reported_by_page:interactive',summaryOptions:SUMMARY_OPTIONS,});const benchmarkTime=histograms.createHistogram('reported_by_page:benchmark_time',timeDurationInMs_smallerIsBetter,[],{binBoundaries:METRIC_BOUNDARIES,description:'Time from telemetry:reported_by_page:benchmark_begin '+'to telemetry:reported_by_page:benchmark_end'...
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 21 20:45:06 UTC 2023 - 2.5M bytes - Viewed (0)