From 716e6e806e2903e3e346c7d3ff6c7e7c054b3393 Mon Sep 17 00:00:00 2001 From: Bill Thiede Date: Fri, 3 Apr 2020 21:57:38 -0700 Subject: [PATCH] Minor style update. --- README.md | 10 +++++----- run_benches.sh | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 2f0f4ff..2d46c7a 100644 --- a/README.md +++ b/README.md @@ -1,18 +1,18 @@ # Benchmark results -## Sleep: wrk -t 16 -c 32 http://localhost:3030/sleep/1 +## Sleep: `wrk -t 16 -c 32 http://localhost:3030/sleep/1` ``` Running 10s test @ http://localhost:3030/sleep/1 16 threads and 32 connections Thread Stats Avg Stdev Max +/- Stdev - Latency 1.00s 1.02ms 1.01s 64.58% - Req/Sec 1.40 1.33 10.00 95.92% + Latency 1.00s 694.99us 1.00s 68.40% + Req/Sec 1.19 0.39 2.00 81.25% 288 requests in 10.01s, 38.25KB read Requests/sec: 28.76 Transfer/sec: 3.82KB ``` -## Spin: wrk -t 16 -c 32 http://localhost:3030/spin/1 +## Spin: `wrk -t 16 -c 32 http://localhost:3030/spin/1` ``` Running 10s test @ http://localhost:3030/spin/1 @@ -23,5 +23,5 @@ Running 10s test @ http://localhost:3030/spin/1 10 requests in 10.01s, 1.48KB read Socket errors: connect 0, read 0, write 0, timeout 9 Requests/sec: 1.00 -Transfer/sec: 151.81B +Transfer/sec: 151.80B ``` diff --git a/run_benches.sh b/run_benches.sh index 9a5b88b..fa68fd0 100755 --- a/run_benches.sh +++ b/run_benches.sh @@ -8,13 +8,13 @@ echo "Running webserver on port :3030" PID=$! echo "PID ${PID:?}" echo "# Benchmark results" > README.md -echo "## Sleep: ${SLEEP_CMD}" >> README.md +echo "## Sleep: \`${SLEEP_CMD}\`" >> README.md echo "" >> README.md echo "\`\`\`" >> README.md ${SLEEP_CMD:?} >> README.md echo "\`\`\`" >> README.md echo "" >> README.md -echo "## Spin: ${SPIN_CMD}" >> README.md +echo "## Spin: \`${SPIN_CMD}\`" >> README.md echo "" >> README.md echo "\`\`\`" >> README.md ${SPIN_CMD:?} >> README.md