Package profile is for profilers
type Option func(o *Options)
func Name(n string) Option
Name of the profile
type Options struct { // Name to use for the profile Name string }
type Profile interface { // Start the profiler Start() error // Stop the profiler Stop() error // Name of the profiler String() string }
var ( DefaultProfile Profile = new(noop) )