Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automated Benchmarks #10

Open
marceloboeira opened this issue May 27, 2019 · 2 comments
Open

Automated Benchmarks #10

marceloboeira opened this issue May 27, 2019 · 2 comments
Labels
help wanted Extra attention is needed
Milestone

Comments

@marceloboeira
Copy link
Owner

The current benchmark structure is not quite great.

See https://github.com/14-bits/voik/blob/master/src/benchmark.rs for more info.

Acceptance Criteria

The benchmark must run on every build, and it must inform a reasonable metric of MB/s from reads and writes of a single commit-log shard. The side of the index and the log file should be configurable, as much as the size and total amount of records.

e.g.: "run a test with 10MB index, 20MB log, 1M messages of 100kb each"...

@marceloboeira marceloboeira added the help wanted Extra attention is needed label May 27, 2019
@marceloboeira marceloboeira added this to the 0.2.0 milestone May 28, 2019
@jaywalker76
Copy link

Hi @marceloboeira, besides having a look at the consensus protocols, I'd like to work on this issue, if that's ok. Please note that I don't have experience with Rust and as such my turnover rate may not be the best. If you're ok with that I can take over this issue.

@marceloboeira
Copy link
Owner Author

marceloboeira commented May 29, 2019

@jaywalker76 feel free to look into it. I'll be out for a couple days and won't be able to work too much on it.

You can write the tests based on the commit_log sub-crate at the moment, which is the most important part. Test for read and write throughput for the "lib" --> https://doc.rust-lang.org/1.6.0/book/benchmark-tests.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants