Versions in this module Expand all Collapse all v1 v1.1.0 Jun 23, 2023 Changes in this version + var DebugMode bool + var Errors map[string]map[string]string + var OrmMaxConn int + var OrmMaxIdle int + var OrmMulti int + var OrmSource string + func ConvertSourceToDSN() string + func CreateTables() error + func GetError(orm, method string) string + func SetError(b *testing.B, orm, method, err string) + func SplitSource() map[string]string + type BenchmarkReport []*Result + func (s BenchmarkReport) Len() int + func (s BenchmarkReport) Less(i, j int) bool + func (s BenchmarkReport) Swap(i, j int) + type BenchmarkResult struct + ORM string + Results []Result + func RunBenchmarks(orm ORMInterface, reports map[string]BenchmarkReport) (BenchmarkResult, error) + type ORMInterface interface + Close func() error + Init func() error + Insert func(b *testing.B) + InsertMulti func(b *testing.B) + Name func() string + Read func(b *testing.B) + ReadSlice func(b *testing.B) + Update func(b *testing.B) + type Result struct + ErrorMsg string + MemAllocs int64 + MemBytes int64 + Method string + N int + Name string + NsPerOp int64