diff --git a/README.md b/README.md index fee1853..64b60ac 100644 --- a/README.md +++ b/README.md @@ -122,9 +122,14 @@ integrate. @alexpyattaev, the benchmarks are fairer now, pinning server and client to specific CPU cores. -![](./wrk/samples/req_per_sec_graph.png) +**Update**: I have consolidated the benchmarks to one good representative per +language. See more details in [blazingly-fast.md](./blazingly-fast.md). It +contains rust implementations that come pretty close to zap's performance in the +simplistic testing scenario. -![](./wrk/samples/xfer_per_sec_graph.png) +![](./wrk/samples/README_req_per_sec.png) + +![](./wrk/samples/README_xfer_per_sec.png) So, being somewhere in the ballpark of basic GO performance, zig zap seems to be diff --git a/blazingly-fast.md b/blazingly-fast.md index 5efc31d..f54af5f 100644 --- a/blazingly-fast.md +++ b/blazingly-fast.md @@ -169,7 +169,7 @@ Vulnerabilities: Tsx async abort: Not affected ``` -### Workstation at work +### Workstation at work -- out of date (fixed soon) A beast. Many cores (which we don't use). @@ -247,7 +247,7 @@ Vulnerabilities: ``` -### Work Laptop +### Work Laptop -- out of date (fixed soon) Very strange. It absolutely **LOVES** zap 🤣! diff --git a/wrk/measure_all.sh b/wrk/measure_all.sh index 3d774fa..0f5bb5b 100755 --- a/wrk/measure_all.sh +++ b/wrk/measure_all.sh @@ -8,6 +8,11 @@ fi SUBJECTS="$1" +if [ "$SUBJECTS" = "README" ] ; then + rm -f wrk/*.perflog + SUBJECTS="zig-zap go python-sanic rust-axum csharp cpp-beast" +fi + if [ -z "$SUBJECTS" ] ; then SUBJECTS="zig-zap go python python-sanic rust-bythebook rust-bythebook-improved rust-clean rust-axum csharp cpp-beast" fi diff --git a/wrk/samples/README_req_per_sec.png b/wrk/samples/README_req_per_sec.png new file mode 100644 index 0000000..cfd7ce0 Binary files /dev/null and b/wrk/samples/README_req_per_sec.png differ diff --git a/wrk/samples/README_xfer_per_sec.png b/wrk/samples/README_xfer_per_sec.png new file mode 100644 index 0000000..275c2b7 Binary files /dev/null and b/wrk/samples/README_xfer_per_sec.png differ