76 lines
2.1 KiB
Markdown
76 lines
2.1 KiB
Markdown
# CPU Info
|
|
## Logical CPUs 8
|
|
## Physical CPUs 4
|
|
|
|
# Benchmark results
|
|
## Sleep:
|
|
### `wrk -t 16 -d 5 --timeout 5 -c 16 http://localhost:3030/sleep/1`
|
|
|
|
```
|
|
Running 5s test @ http://localhost:3030/sleep/1
|
|
16 threads and 16 connections
|
|
Thread Stats Avg Stdev Max +/- Stdev
|
|
Latency 1.00s 529.36us 1.00s 70.31%
|
|
Req/Sec 0.28 0.45 1.00 71.88%
|
|
64 requests in 5.01s, 8.50KB read
|
|
Requests/sec: 12.78
|
|
Transfer/sec: 1.70KB
|
|
```
|
|
|
|
## Sleep:
|
|
### `wrk -t 16 -d 5 --timeout 5 -c 32 http://localhost:3030/sleep/1`
|
|
|
|
```
|
|
Running 5s test @ http://localhost:3030/sleep/1
|
|
16 threads and 32 connections
|
|
Thread Stats Avg Stdev Max +/- Stdev
|
|
Latency 1.00s 519.15us 1.00s 64.03%
|
|
Req/Sec 3.48 3.96 10.00 73.47%
|
|
139 requests in 5.10s, 18.46KB read
|
|
Requests/sec: 27.26
|
|
Transfer/sec: 3.62KB
|
|
```
|
|
|
|
## Sleep:
|
|
### `wrk -t 16 -d 5 --timeout 5 -c 64 http://localhost:3030/sleep/1`
|
|
|
|
```
|
|
Running 5s test @ http://localhost:3030/sleep/1
|
|
16 threads and 64 connections
|
|
Thread Stats Avg Stdev Max +/- Stdev
|
|
Latency 1.00s 0.85ms 1.00s 65.23%
|
|
Req/Sec 5.75 8.14 30.00 90.14%
|
|
256 requests in 5.01s, 34.00KB read
|
|
Requests/sec: 51.14
|
|
Transfer/sec: 6.79KB
|
|
```
|
|
|
|
## Sleep:
|
|
### `wrk -t 16 -d 5 --timeout 5 -c 128 http://localhost:3030/sleep/1`
|
|
|
|
```
|
|
Running 5s test @ http://localhost:3030/sleep/1
|
|
16 threads and 128 connections
|
|
Thread Stats Avg Stdev Max +/- Stdev
|
|
Latency 1.00s 708.55us 1.00s 68.55%
|
|
Req/Sec 13.17 19.52 70.00 88.89%
|
|
512 requests in 5.01s, 68.00KB read
|
|
Requests/sec: 102.26
|
|
Transfer/sec: 13.58KB
|
|
```
|
|
|
|
## Spin:
|
|
### `wrk -t 16 -d 5 --timeout 5 -c 16 http://localhost:3030/spin/1`
|
|
|
|
```
|
|
Running 5s test @ http://localhost:3030/spin/1
|
|
16 threads and 16 connections
|
|
Thread Stats Avg Stdev Max +/- Stdev
|
|
Latency 2.70s 1.42s 5.00s 60.00%
|
|
Req/Sec 0.00 0.00 0.00 100.00%
|
|
20 requests in 5.10s, 2.97KB read
|
|
Requests/sec: 3.92
|
|
Transfer/sec: 596.05B
|
|
```
|
|
|