tikv / raft-rs

Raft distributed consensus algorithm implemented in Rust.
Apache License 2.0
2.92k stars 394 forks source link

A full benchmarking suite #109

Open Hoverbear opened 6 years ago

Hoverbear commented 6 years ago

It'd be great to have a full, robust benchmarking suite.

I recommend using Criterion for benchmarking since we can use it fairly unobtrusively, even on stable.

Hoverbear commented 6 years ago

The bones are in place for this if anyone would like to build on it. Feel free to ping us here and we can give you some guidance!

ckousik commented 5 years ago

@Hoverbear I'd like to work on this

Hoverbear commented 5 years ago

@ckousik I'd be really honoured. :) Is there anything I can help you with? You can examine our current benchmarking code and learn about Criterion to start.

Hoverbear commented 5 years ago

Hi @ckousik, any way I can help with this?

Fullstop000 commented 5 years ago

@Hoverbear Can I try to implement a simple benchmark case for raw node proposing like https://github.com/etcd-io/etcd/blob/master/raft/node_bench_test.go ? This could be useful in a lot of situations.

Hoverbear commented 5 years ago

@Fullstop000 Please!? 😍