Minor style update.

This commit is contained in:
Bill Thiede 2020-04-03 21:57:38 -07:00
parent f4e6d6a856
commit 716e6e806e
2 changed files with 7 additions and 7 deletions

View File

@ -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
```

View File

@ -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