benchmark

package
v0.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 9, 2021 License: Apache-2.0 Imports: 13 Imported by: 0

README

Benchmark

Simple benchmark tests, which serve more as end-to-end production-like integration tests rather than actual in-depth benchmarks.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_temporary_data_proto3_proto protoreflect.FileDescriptor

Functions

func NewProtoTmpData

func NewProtoTmpData(insertID string, name string, uuid int64, timestamp time.Time, truth bool, _parameters map[string]string) interface{}

NewProtoTmpData create a Protobuf-based temporary data model, implented using the dataGenerator syntax.

func NewTmpData

func NewTmpData(insertID string, name string, uuid int64, timestamp time.Time, truth bool, parameters map[string]string) interface{}

NewTmpData create a ValueSaver/JsonMarshal-based temporary data model, implented using the dataGenerator syntax.

Types

type TemporaryDataProto3

type TemporaryDataProto3 struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Uuid int64  `protobuf:"varint,2,opt,name=uuid,proto3" json:"uuid,omitempty"`
	// google.protobuf.Timestamp timestamp = 3;
	Truth bool `protobuf:"varint,3,opt,name=truth,proto3" json:"truth,omitempty"` // repeated benchmark.TemporaryDataParameterProto3 parameters = 5;
	// contains filtered or unexported fields
}

func (*TemporaryDataProto3) Descriptor deprecated

func (*TemporaryDataProto3) Descriptor() ([]byte, []int)

Deprecated: Use TemporaryDataProto3.ProtoReflect.Descriptor instead.

func (*TemporaryDataProto3) GetName

func (x *TemporaryDataProto3) GetName() string

func (*TemporaryDataProto3) GetTruth

func (x *TemporaryDataProto3) GetTruth() bool

func (*TemporaryDataProto3) GetUuid

func (x *TemporaryDataProto3) GetUuid() int64

func (*TemporaryDataProto3) ProtoMessage

func (*TemporaryDataProto3) ProtoMessage()

func (*TemporaryDataProto3) ProtoReflect

func (x *TemporaryDataProto3) ProtoReflect() protoreflect.Message

func (*TemporaryDataProto3) Reset

func (x *TemporaryDataProto3) Reset()

func (*TemporaryDataProto3) String

func (x *TemporaryDataProto3) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL