flags

package
v0.17.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 7, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	BenchPath     = flag.String("path", "", "Filepath where to write the database data. If not set a temp folder will be used.")
	Verbose       = flag.Bool("verbose", false, "Enable verbose logging.")
	JsonReporter  = flag.String("json-reporter", "", "If specified, will generate a json report with the given filename.")
	BenchmarkRuns = flag.Uint("bench-runs", 1, "Number of runs per benchmark.")
	Connector     = flag.String("connector", "dummy", "Key of the connector implementation registered with ConnectorFactory.")
	UserName      = flag.String("user-name", "user", "Username for the connector user, defaults to 'user'.")
	UserPassword  = flag.String("user-pwd", "password", "Password for the connector user, defaults to 'password'.")
	SkipClean     = flag.Bool("skip-clean", false, "Do not cleanup benchmark data directory.")
)
View Source
var (
	IMAPRemoteServer          = flag.String("imap-remote-server", "", "IP address and port of the remote IMAP server to run against. E.g. 127.0.0.1:1143.")
	IMAPMessageCount          = flag.Uint("imap-msg-count", 1000, "Number of messages to add to the mailbox before each benchmark")
	IMAPRandomSeqSetIntervals = flag.Bool("imap-random-seqset-intervals", false, "When set, generate random sequence intervals rather than single numbers.")
	IMAPUIDMode               = flag.Bool("imap-uid-mode", false, "When set, will run benchmarks in UID mode if available.")
	IMAPParallelClients       = flag.Uint("imap-parallel-clients", 1, "Set the number of clients to be run in parallel during the benchmark.")
	IMAPMailboxMessageDir     = flag.String("imap-mbox-file-dir", "", "Folder path to load *.eml messages instead of builtin selection.")
)
View Source
var (
	Store          = flag.String("store", "default", "Name of the storage implementation to benchmark. Defaults to regular on disk storage by default.")
	StoreWorkers   = flag.Uint("store-workers", 1, "Number of concurrent workers for store operations.")
	StoreItemCount = flag.Uint("store-item-count", 1000, "Number of items to generate in the store benchmarks.")
	StoreItemSize  = flag.Uint("store-item-size", 15*1024*1024, "Number of items to generate in the store benchmarks.")
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL