Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Mysql ¶
type Mysql struct {
// contains filtered or unexported fields
}
Mysql implements the bencher interface.
func (*Mysql) Benchmarks ¶
Benchmarks returns the individual benchmark functions for the mysql db.
func (*Mysql) ExecStatement ¶
Exec executes the given statement on the database.
func (*Mysql) ExecTransaction ¶
Exec executes the given statement on the database using transactions.
type Neo4j ¶
type Neo4j struct {
// contains filtered or unexported fields
}
neo4j implements the bencher interface.
func (*Neo4j) Benchmarks ¶
Benchmarks returns the individual benchmark functions for the cassandra db. TODO: update is not like other db statements balance = balance + balance!
func (*Neo4j) ExecStatement ¶
Exec executes the given statement on the database.
func (*Neo4j) ExecTransaction ¶
Exec executes the given statement on the database using transactions.
type Postgres ¶
type Postgres struct {
// contains filtered or unexported fields
}
Postgres implements the bencher interface.
func NewPostgres ¶
NewPostgres returns a new postgres bencher.
func (*Postgres) Benchmarks ¶
Benchmarks returns the individual benchmark statements for the postgres db.
func (*Postgres) ExecStatement ¶
Exec executes the given statement on the database.
func (*Postgres) ExecTransaction ¶
Exec executes the given statement on the database using transactions.