Documentation
¶
Overview ¶
Package measurement supplies allocation measurements and race-mode metadata for tests. It is not imported by production queue execution.
Index ¶
Constants ¶
View Source
const RaceEnabled = false
RaceEnabled reports whether the tests run under the race detector.
Variables ¶
This section is empty.
Functions ¶
func AllocsPerRun ¶
AllocsPerRun measures allocation cost with testing's warmup and serial runner. RaceEnabled lets callers retain their explicit pool-variance tolerance.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.