diff --git a/Cargo.lock b/Cargo.lock index 471c799..1668dee 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -486,9 +486,9 @@ checksum = "8521a1b57e76b1ec69af7599e75e38e7b7fad6610f037db8c79b127201b5d119" [[package]] name = "local-sync" -version = "0.0.3" +version = "0.0.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7778727d272f9d6cef27b1e84f46166583f7ffa7c84356bb3a43b1d65bab430a" +checksum = "56ae84de7298d25e454f7c95077e85e04585445626f9b2606b1634f125667eff" dependencies = [ "futures-core", "futures-sink", @@ -582,7 +582,7 @@ dependencies = [ [[package]] name = "monoio" -version = "0.0.2" +version = "0.0.3" dependencies = [ "bytes", "futures", diff --git a/README.md b/README.md index 1c81ac6..fb9e033 100644 --- a/README.md +++ b/README.md @@ -7,13 +7,9 @@ We will use 1K ping-pong to test performance of different runtimes. Server will ## Max throughput With given connections(enough for fully utilize CPU cores which latency is not important), we can measure the maximum throughput. -TODO: 1C/4C with 3 runtimes, different connections, watch the throughput. - ## Fixed QPS We can measure the latency and CPU utilization of different runtimes. -TODO: 1C/4C with 3 runtimes, different QPS, watch latency and CPU utilization. - ## How to run Run diffrent servers: ``` @@ -29,4 +25,7 @@ taskset -c 1-4 ./target/release/tokio-server --cores 1 2 3 4 Run client: ``` ./target/release/client --target 10.0.0.0:40000 --cores 1 2 3 4 --conns-per-core 150 -``` \ No newline at end of file +``` + +## Benchmark result +Full result is available in [中文版本](https://github.com/bytedance/monoio/blob/master/docs/zh/benchmark.md) / [English version](https://github.com/bytedance/monoio/blob/master/docs/zh/benchmark.md). \ No newline at end of file diff --git a/client/Cargo.toml b/client/Cargo.toml index fb247f0..bae467d 100644 --- a/client/Cargo.toml +++ b/client/Cargo.toml @@ -7,4 +7,4 @@ edition = "2021" config = {path="../config"} monoio = {path="../../monoio/monoio"} -local-sync = "0.0.3" +local-sync = "0.0.5"