Documentation ¶
Index ¶
- Variables
- func PrepareBenchmarks()
- func WriteObservation(w io.Writer, o Observation)
- type Benchmark
- func AppBench() Benchmark
- func BenchSuite(smallfileDuration string) []Benchmark
- func ExtendedBenchSuite(smallfileDuration string, par int) []Benchmark
- func LargefileBench(fileSizeMb int) Benchmark
- func ScaleSuite(benchtime string, threads int) []Benchmark
- func SmallfileBench(benchtime string, threads int) Benchmark
- type BenchmarkSuite
- type Fs
- type KeyValue
- type KeyValuePair
- type Observation
- type Workload
Constants ¶
This section is empty.
Variables ¶
View Source
var LargefileSuite = []Benchmark{ LargefileBench(300), }
Functions ¶
func PrepareBenchmarks ¶
func PrepareBenchmarks()
func WriteObservation ¶
func WriteObservation(w io.Writer, o Observation)
Types ¶
type Benchmark ¶
type Benchmark struct { // Config has configuration related to the benchmark workload under test // "bench" is a map with benchmark options Config KeyValue // contains filtered or unexported fields }
func BenchSuite ¶
func ExtendedBenchSuite ¶
func LargefileBench ¶
func ScaleSuite ¶
func SmallfileBench ¶
func (Benchmark) ParseOutput ¶
func (b Benchmark) ParseOutput(lines []string) []Observation
type BenchmarkSuite ¶
func (*BenchmarkSuite) Workloads ¶
func (bs *BenchmarkSuite) Workloads() []Workload
type KeyValue ¶
type KeyValue map[string]interface{}
KeyValue is a generic set of key-value pairs
expect values to be string, float64, or bool (or recursively another KeyValue)
func LinuxDurabilityFilesystems ¶
LinuxDurabilityFilesystems returns many Linux filesystems, varying durability options
func (KeyValue) Extend ¶
Extend adds all key-value pairs from kv2 to kv
modifies kv in-place and returns kv (for chaining)
func (KeyValue) Pairs ¶
func (kv KeyValue) Pairs() []KeyValuePair
Pairs returns the key-value pairs in kv, sorted by key
type KeyValuePair ¶
type KeyValuePair struct { Key string Val interface{} }
type Observation ¶
func ReadObservation ¶
func ReadObservation(r io.Reader) (o Observation, err error)
ReadObservation gets the next observation in r
Click to show internal directories.
Click to hide internal directories.