benchmark

command module
v0.0.0-...-c4f21ae Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2017 License: GPL-3.0 Imports: 13 Imported by: 0

README

IMAP Benchmark

A tool to generate IMAP traffic for pluto, Dovecot, and other IMAP services (like Gmail).

Traffic Generation

The major difference to previously introduced imap-evaluation is, that we now support IMAP Sessions. Sessions are sequences of IMAP commands that are executed consecutively. The commands are more or less reasonable.

For the moment we only focus on state-changing (i.e. write) commands like:

  • CREATE
  • DELETE
  • APPEND
  • STORE
  • EXPUNGE

Setup

To install imap-benchmark, please run

$ go get -u github.com/go-pluto/benchmark

Modify the config file test-config.toml and the user data base userdb.passwd.

Usage

You can start benchmarking an IMAP service by running the imap-benchmark.go file.

$ go run imap-benchmark.go

Alternatively, you can provide paths for config file and userdb:

$ go run imap-benchmark.go --config /var/config.toml --userdb /var/private.passwd

Logging

All response times are collected in a log file underneath the results folder.

License

This project is GPLv3 licensed.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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