Documentation
¶
Index ¶
- func CollectProfileFunctions(args *args.CollectionArgs) error
- func ProcessProfiles(benchmarkName string, profiles []string, tag string) error
- func RunBenchmark(benchmarkName string, profiles []string, count int, tag string) error
- func SetupDirectories(tag string, benchmarks, profiles []string) error
- type ProfilePaths
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CollectProfileFunctions ¶
func CollectProfileFunctions(args *args.CollectionArgs) error
CollectProfileFunctions collects all pprof information for each function, according to configurations.
func ProcessProfiles ¶
ProcessProfiles collects all pprof info for a specific benchmark and its specified profiles.
func RunBenchmark ¶
RunBenchmark runs a specific benchmark and collects all of its information.
func SetupDirectories ¶
SetupDirectories creates the structure of the library's output.
Types ¶
type ProfilePaths ¶
type ProfilePaths struct {
// Desired file path for specified profile
ProfileTextFile string
// Desired bin path for specified profile
ProfileBinaryFile string
// Desired benchmark directory for function data collection
FunctionDirectory string
}
ProfilePaths holds paths for profile text, binary, and output directories.
Click to show internal directories.
Click to hide internal directories.