https://github.com/go-pluto/evaluation
Collection of test scripts for evaluating pluto's performance compared to Dovecot.
https://github.com/go-pluto/evaluation
evaluation go golang plots pluto
Last synced: 4 months ago
JSON representation
Collection of test scripts for evaluating pluto's performance compared to Dovecot.
- Host: GitHub
- URL: https://github.com/go-pluto/evaluation
- Owner: go-pluto
- License: gpl-3.0
- Created: 2016-12-23T14:48:06.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-07-10T11:24:57.000Z (over 8 years ago)
- Last Synced: 2025-08-31T20:54:30.009Z (4 months ago)
- Topics: evaluation, go, golang, plots, pluto
- Language: Go
- Homepage: https://github.com/go-pluto/pluto
- Size: 80.1 KB
- Stars: 3
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Pluto evaluation
Collection of test scripts for evaluating [pluto](https://github.com/numbleroot/pluto)'s performance compared to [Dovecot](https://www.dovecot.org/).
## Setup
First, run
```
$ make folders
```
and place involved certificates under `private/`.
Next, copy `test-config.toml.example` to `test-config.toml` and adjust it to your setup. This includes specifying IPs, ports, certificates and authentication information in order for your tests to run successfully. Afterwards, execute
```
$ make build
```
which will re-run `folders` target, compile all test scripts and the executable to plot the results.
## Testing
Now you can start testing. For this, choose a test to start with from the available executables and run it, e.g.
```
$ ./test-append -runs 1000
```
which will execute 1000 APPEND operations against first pluto and then Dovecot. Result logs will be placed in `results/`, containing meta-information and comma-separated pairs of msgID and completion time of that command in nanoseconds. A beginning of such a file might look like:
```
Subject: APPEND
Platform: pluto
Date: 2017-01-01-10-00-00
-----
1, 110422612
2, 98924309
3, 107112562
...
```
## Plotting
Finally, you can plot two corresponding test results against each other with every run of `plot-results`. For this, execute
```
$ ./plot-results -fileOne results/pluto-append-2017-01-01-10-00-00.log -fileTwo results/dovecot-append-2017-01-01-10-00-00.log
```
and have a look at the output `.svg` file in `results/`.
That's it!
## License
This project is [GPLv3](https://github.com/numbleroot/pluto-evaluation/blob/master/LICENSE) licensed.