testing.AllocsPerRun
func AllocsPerRun(int, func()) float64
- Kind
- function
- Module
testing- Since
- 1.1
Source: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
The entries of testing in the Go reference. This page has 167 cards.
func AllocsPerRun(int, func()) float64
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type B struct
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*B) ArtifactDir() string
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*B) Attr(string, string)
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*B) Chdir(string)
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*B) Cleanup(func())
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*B) Context() context.Context
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*B) Elapsed() time.Duration
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*B) Error(...interface{})
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*B) Errorf(string, ...interface{})
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*B) Fail()
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*B) Failed() bool
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*B) FailNow()
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*B) Fatal(...interface{})
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*B) Fatalf(string, ...interface{})
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*B) Helper()
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*B) Log(...interface{})
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*B) Logf(string, ...interface{})
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*B) Loop() bool
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type B struct, N int
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*B) Name() string
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*B) Output() io.Writer
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*B) ReportAllocs()
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*B) ReportMetric(float64, string)
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*B) ResetTimer()
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*B) Run(string, func(*B)) bool
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*B) RunParallel(func(*PB))
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*B) SetBytes(int64)
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*B) Setenv(string, string)
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*B) SetParallelism(int)
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*B) Skip(...interface{})
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*B) Skipf(string, ...interface{})
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*B) SkipNow()
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*B) Skipped() bool
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*B) StartTimer()
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*B) StopTimer()
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*B) TempDir() string
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
func Benchmark(func(*B)) BenchmarkResult
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type BenchmarkResult struct
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (BenchmarkResult) AllocedBytesPerOp() int64
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (BenchmarkResult) AllocsPerOp() int64
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type BenchmarkResult struct, Bytes int64
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type BenchmarkResult struct, Extra map[string]float64
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type BenchmarkResult struct, MemAllocs uint64
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type BenchmarkResult struct, MemBytes uint64
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (BenchmarkResult) MemString() string
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type BenchmarkResult struct, N int
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (BenchmarkResult) NsPerOp() int64
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (BenchmarkResult) String() string
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type BenchmarkResult struct, T time.Duration
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type Cover struct
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type Cover struct, Blocks map[string][]CoverBlock
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type Cover struct, Counters map[string][]uint32
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type Cover struct, CoveredPackages string
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type Cover struct, Mode string
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
func Coverage() float64
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type CoverBlock struct
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type CoverBlock struct, Col0 uint16
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type CoverBlock struct, Col1 uint16
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type CoverBlock struct, Line0 uint32
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type CoverBlock struct, Line1 uint32
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type CoverBlock struct, Stmts uint16
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
func CoverMode() string
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type F struct
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*F) Add(...interface{})
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*F) ArtifactDir() string
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*F) Attr(string, string)
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*F) Chdir(string)
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*F) Cleanup(func())
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*F) Context() context.Context
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*F) Error(...interface{})
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*F) Errorf(string, ...interface{})
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*F) Fail()
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*F) Failed() bool
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*F) FailNow()
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*F) Fatal(...interface{})
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*F) Fatalf(string, ...interface{})
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*F) Fuzz(interface{})
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*F) Helper()
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*F) Log(...interface{})
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*F) Logf(string, ...interface{})
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*F) Name() string
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*F) Output() io.Writer
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*F) Setenv(string, string)
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*F) Skip(...interface{})
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*F) Skipf(string, ...interface{})
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*F) SkipNow()
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*F) Skipped() bool
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*F) TempDir() string
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
func Init()
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type InternalBenchmark struct
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type InternalBenchmark struct, F func(*B)
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type InternalBenchmark struct, Name string
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type InternalExample struct
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type InternalExample struct, F func()
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type InternalExample struct, Name string
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type InternalExample struct, Output string
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type InternalExample struct, Unordered bool
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type InternalFuzzTarget struct
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type InternalFuzzTarget struct, Fn func(*F)
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type InternalFuzzTarget struct, Name string
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type InternalTest struct
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type InternalTest struct, F func(*T)
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type InternalTest struct, Name string
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type M struct
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*M) Run() int
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
func Main(func(string, string) (bool, error), []InternalTest, []InternalBenchmark, []InternalExample)
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
func MainStart(func(string, string) (bool, error), []InternalTest, []InternalBenchmark, []InternalExample) *M
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type PB struct
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*PB) Next() bool
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
func RegisterCover(Cover)
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
func RunBenchmarks(func(string, string) (bool, error), []InternalBenchmark)
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
func RunExamples(func(string, string) (bool, error), []InternalExample) bool
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
func RunTests(func(string, string) (bool, error), []InternalTest) bool
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
func Short() bool
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type T struct
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*T) ArtifactDir() string
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*T) Attr(string, string)
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*T) Chdir(string)
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*T) Cleanup(func())
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*T) Context() context.Context
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*T) Deadline() (time.Time, bool)
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*T) Error(...interface{})
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*T) Errorf(string, ...interface{})
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*T) Fail()
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*T) Failed() bool
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*T) FailNow()
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*T) Fatal(...interface{})
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*T) Fatalf(string, ...interface{})
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*T) Helper()
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*T) Log(...interface{})
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*T) Logf(string, ...interface{})
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*T) Name() string
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*T) Output() io.Writer
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*T) Parallel()
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*T) Run(string, func(*T)) bool
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*T) Setenv(string, string)
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*T) Skip(...interface{})
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*T) Skipf(string, ...interface{})
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*T) SkipNow()
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*T) Skipped() bool
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*T) TempDir() string
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type TB interface, ArtifactDir() string
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type TB interface, Attr(string, string)
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type TB interface, Chdir(string)
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type TB interface, Cleanup(func())
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type TB interface, Context() context.Context
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type TB interface, Error(...interface{})
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type TB interface, Errorf(string, ...interface{})
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type TB interface, Fail()
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type TB interface, Failed() bool
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type TB interface, FailNow()
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type TB interface, Fatal(...interface{})
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type TB interface, Fatalf(string, ...interface{})
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type TB interface, Helper()
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type TB interface, Log(...interface{})
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type TB interface, Logf(string, ...interface{})
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type TB interface, Name() string
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type TB interface, Output() io.Writer
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type TB interface, Setenv(string, string)
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type TB interface, Skip(...interface{})
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type TB interface, Skipf(string, ...interface{})
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type TB interface, SkipNow()
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type TB interface, Skipped() bool
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type TB interface, TempDir() string
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
func Testing() bool
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
func Verbose() bool
testingSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.