Package log contains the logging benchmarks that live outside the component module, so github.com/shibingli/ydx/log never depends on benchmark-only code or comparison libraries.
Package raft contains benchmarks comparing ydx/raft with etcd raft and hashicorp/raft under the same in-memory storage and transport conditions.