Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BenchmarkConfig ¶
type BenchmarkConfig struct {
// Database
DBName string
Username string
Password string
Host string
Port string
// Benchmark-Init options
FillFactor int
ScaleFactor int
// Benchmark-Run options
Mode BenchmarkMode // Mode is the benchmarking mode
NumThreads int // NumThreads is the number of threads to use
NumClients int // NumClients is the number of clients to use
Comment string // Comment is a comment to add to the benchmark
}
BenchmarkConfig holds the configuration for benchmarking
func (*BenchmarkConfig) Sanitize ¶
func (c *BenchmarkConfig) Sanitize()
type BenchmarkMode ¶
type BenchmarkMode = string
BenchmarkMode is a type for benchmark mode
const ( ModeSimple BenchmarkMode = "simple" // ModeSimple is a simple benchmark mode ModeThorough BenchmarkMode = "thorough" // ModeThorough is a thorough benchmark mode )
type BenchmarkResult ¶
type BenchmarkResult = ent.BenchmarkResult
BenchmarkResult represents the result of a benchmark run.
type SystemDetails ¶
type SystemDetails = ent.SystemDetails
SystemDetails represents system details.
type SystemSample ¶
Click to show internal directories.
Click to hide internal directories.