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'.") )
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.") )
View Source
var Store = flag.String("store", "default", "Name of the storage implementation to benchmark. Defaults to regular on disk storage by default.")
View Source
var StoreItemCount = flag.Uint("store-item-count", 1000, "Number of items to generate in the store benchmarks.")
View Source
var StoreItemSize = flag.Uint("store-item-size", 15*1024*1024, "Number of items to generate in the store benchmarks.")
View Source
var StoreWorkers = flag.Uint("store-workers", 1, "Number of concurrent workers for store operations.")
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.