Documentation
¶
Index ¶
- func BmEchoMixed5(db *sql.DB, n int) error
- func BmPreparedExec(db *sql.DB, n int) error
- func BmPreparedExecConcurrent1(db *sql.DB, n int) error
- func BmPreparedExecConcurrent16(db *sql.DB, n int) error
- func BmPreparedExecConcurrent2(db *sql.DB, n int) error
- func BmPreparedExecConcurrent4(db *sql.DB, n int) error
- func BmPreparedExecConcurrent8(db *sql.DB, n int) error
- func BmPreparedQueryConcurrent1(db *sql.DB, n int) error
- func BmPreparedQueryConcurrent16(db *sql.DB, n int) error
- func BmPreparedQueryConcurrent2(db *sql.DB, n int) error
- func BmPreparedQueryConcurrent4(db *sql.DB, n int) error
- func BmPreparedQueryConcurrent8(db *sql.DB, n int) error
- func BmPreparedQueryRow(db *sql.DB, n int) error
- func BmPreparedQueryRowParam(db *sql.DB, n int) error
- func BmSelectLargeBytes(db *sql.DB, n int) error
- func BmSelectLargeRaw(db *sql.DB, n int) error
- func BmSelectLargeString(db *sql.DB, n int) error
- func BmSelectPreparedLargeBytes(db *sql.DB, n int) error
- func BmSelectPreparedLargeRaw(db *sql.DB, n int) error
- func BmSelectPreparedLargeString(db *sql.DB, n int) error
- func BmSimpleExec(db *sql.DB, n int) error
- func BmSimpleQueryRow(db *sql.DB, n int) error
- func BmWKBExec(db *sqlx.DB, n int) error
- func SetupGeomBench(db *sqlx.DB, tableParams string) error
- func TeardownGeomBench(db *sqlx.DB)
- func Warmup(db *sqlx.DB) error
- type Benchmark
- type BenchmarkResult
- type BenchmarkSuite
- type BmWKBExecJob
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TeardownGeomBench ¶
Types ¶
type BenchmarkResult ¶
type BenchmarkResult struct { Duration time.Duration Queries int Allocs uint64 Bytes uint64 Err error }
func (*BenchmarkResult) AllocsPerQuery ¶
func (res *BenchmarkResult) AllocsPerQuery() int
func (*BenchmarkResult) BytesPerQuery ¶
func (res *BenchmarkResult) BytesPerQuery() int
func (*BenchmarkResult) QueriesPerSecond ¶
func (res *BenchmarkResult) QueriesPerSecond() float64
func (BenchmarkResult) String ¶
func (r BenchmarkResult) String() string
type BmWKBExecJob ¶
type BmWKBExecJob struct{}
Click to show internal directories.
Click to hide internal directories.