Documentation
¶
Index ¶
- Constants
- Variables
- type Result
- func (*Result) Descriptor() ([]byte, []int)deprecated
- func (x *Result) GetAvgTotal() int64
- func (x *Result) GetElapsed() int64
- func (x *Result) GetErr() string
- func (x *Result) GetMax() int64
- func (x *Result) GetMin() int64
- func (x *Result) GetStart() int64
- func (*Result) ProtoMessage()
- func (x *Result) ProtoReflect() protoreflect.Message
- func (x *Result) Reset()
- func (x *Result) String() string
Constants ¶
View Source
const MaxDuration = 9 * time.Hour
MaxDuration is an arbitrary duration that should be larger than any simi benchmark-measured duration.
Variables ¶
View Source
var File_result_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Result ¶
type Result struct {
Err string `protobuf:"bytes,2,opt,name=err,proto3" json:"err,omitempty"`
Elapsed int64 `protobuf:"varint,1,opt,name=elapsed,proto3" json:"elapsed,omitempty"`
Min int64 `protobuf:"varint,4,opt,name=min,proto3" json:"min,omitempty"`
Max int64 `protobuf:"varint,5,opt,name=max,proto3" json:"max,omitempty"`
AvgTotal int64 `protobuf:"varint,6,opt,name=avg_total,json=avgTotal,proto3" json:"avg_total,omitempty"`
Start int64 `protobuf:"varint,7,opt,name=start,proto3" json:"start,omitempty"`
// contains filtered or unexported fields
}
A benchmark execution result
func (*Result) Descriptor
deprecated
func (*Result) GetAvgTotal ¶
func (*Result) GetElapsed ¶
func (*Result) ProtoMessage ¶
func (*Result) ProtoMessage()
func (*Result) ProtoReflect ¶
func (x *Result) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.