Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cassandra ¶
type Cassandra struct {
// contains filtered or unexported fields
}
Cassandra implements the bencher interface.
func NewCassandra ¶
NewCassandra returns a new cassandra bencher.
func (*Cassandra) Benchmarks ¶
Benchmarks returns the individual benchmark functions for the cassandra db. TODO: update is not like other db statements balance = balance + balance!
func (*Cassandra) Cleanup ¶
func (c *Cassandra) Cleanup()
Cleanup removes all remaining benchmarking data.
type Cockroach ¶
type Cockroach struct {
// contains filtered or unexported fields
}
Cockroach implements the bencher interface.
func NewCockroach ¶
NewCockroach returns a new cockroach bencher.
func (*Cockroach) Benchmarks ¶
Benchmarks returns the individual benchmark functions for the cockroach db.
func (*Cockroach) Cleanup ¶
func (p *Cockroach) Cleanup()
Cleanup removes all remaining benchmarking data.
type MSSQL ¶ added in v0.5.0
type MSSQL struct {
// contains filtered or unexported fields
}
MSSQL implements the bencher interface.
func (*MSSQL) Benchmarks ¶ added in v0.5.0
Benchmarks returns the individual benchmark functions for the mysql db.
func (*MSSQL) Cleanup ¶ added in v0.5.0
func (m *MSSQL) Cleanup()
Cleanup removes all remaining benchmarking data.
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.
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) Cleanup ¶
func (p *Postgres) Cleanup()
Cleanup removes all remaining benchmarking data.
type SQLite ¶
type SQLite struct {
// contains filtered or unexported fields
}
SQLite implements the bencher interface.
func (*SQLite) Benchmarks ¶
Benchmarks returns the individual benchmark statements for sqlite.
func (*SQLite) Cleanup ¶
func (m *SQLite) Cleanup()
Cleanup removes all remaining benchmarking data.
type Spanner ¶ added in v0.6.3
type Spanner struct {
// contains filtered or unexported fields
}
Spanner implements the bencher interface.
func NewSpanner ¶ added in v0.6.3
NewSpanner returns a new Google Cloud Spanner bencher.
spannerDatabase - A valid database name has the form projects/PROJECT_ID/instances/INSTANCE_ID/databases/DATABASE_ID. gcpCredentialsFile - Optional, path to file with needed GCP credentials to access Spanner. If left blank, the default behavior of gcp libraries will be used, by assuming GOOGLE_APPLICATION_CREDENTIALS is set to the correct path
func (*Spanner) Benchmarks ¶ added in v0.6.3
Benchmarks returns the individual benchmark functions for tspanner (not implemented).
func (*Spanner) Cleanup ¶ added in v0.6.3
func (s *Spanner) Cleanup()
Cleanup removes all remaining benchmarking data.