Skip to content

Commit d87bb40

Browse files
authored
Update README.md
1 parent c637bb1 commit d87bb40

File tree

1 file changed

+17
-4
lines changed

1 file changed

+17
-4
lines changed

README.md

+17-4
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ The following stress test were performed without timeouts:
257257

258258
Executing `tcpkali --ws -c 100 -m 'hello world!!13212312!' -r 10k localhost:8081` the tests shows the following:
259259

260-
Websocket:
260+
### Websocket:
261261
```
262262
Total data sent: 267.7 MiB (280678466 bytes)
263263
Total data received: 229.5 MiB (240626600 bytes)
@@ -267,7 +267,20 @@ Packet rate estimate: 247050.1↓, 61842.9↑ (1↓, 1↑ TCP MSS/op)
267267
Test duration: 10.0075 s.
268268
```
269269

270-
Gorilla:
270+
### Websocket for net/http:
271+
```
272+
Total data sent: 267.3 MiB (280320124 bytes)
273+
Total data received: 228.3 MiB (239396374 bytes)
274+
Bandwidth per channel: 4.156⇅ Mbps (519.5 kBps)
275+
Aggregate bandwidth: 191.442↓, 224.168↑ Mbps
276+
Packet rate estimate: 188107.1↓, 52240.7↑ (1↓, 1↑ TCP MSS/op)
277+
Test duration: 10.0039 s.
278+
```
279+
280+
Either for fasthttp and net/http should be quite close,
281+
the only difference is the way they both upgrade.
282+
283+
### Gorilla:
271284
```
272285
Total data sent: 260.2 MiB (272886768 bytes)
273286
Total data received: 109.3 MiB (114632982 bytes)
@@ -277,7 +290,7 @@ Packet rate estimate: 109755.3↓, 66807.4↑ (1↓, 1↑ TCP MSS/op)
277290
Test duration: 10.01 s.
278291
```
279292

280-
Nhooyr: (Don't know why is that low)
293+
### Nhooyr: (Don't know why is that low)
281294
```
282295
Total data sent: 224.3 MiB (235184096 bytes)
283296
Total data received: 41.2 MiB (43209780 bytes)
@@ -287,7 +300,7 @@ Packet rate estimate: 88474.0↓, 55256.1↑ (1↓, 1↑ TCP MSS/op)
287300
Test duration: 10.0027 s.
288301
```
289302

290-
Gobwas:
303+
### Gobwas:
291304
```
292305
Total data sent: 265.8 MiB (278718160 bytes)
293306
Total data received: 117.8 MiB (123548959 bytes)

0 commit comments

Comments
 (0)