Skip to content

Commit 520957a

Browse files
committed
docs: add benchmark
1 parent 72102c2 commit 520957a

File tree

1 file changed

+34
-4
lines changed

1 file changed

+34
-4
lines changed

readme.md

+34-4
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,39 @@ hitokoto/api
6262
## Benchmark
6363

6464
```shell
65-
$ node -v ─╯
65+
$ node -v
6666
v14.8.0
67+
$ wrk -t16 -c1000 -d30s --latency http://127.0.0.1:8000
68+
Running 30s test @ http://127.0.0.1:8000
69+
16 threads and 1000 connections
70+
Thread Stats Avg Stdev Max +/- Stdev
71+
Latency 306.38ms 60.05ms 810.86ms 74.60%
72+
Req/Sec 213.41 150.01 626.00 64.98%
73+
Latency Distribution
74+
50% 311.57ms
75+
75% 348.58ms
76+
90% 372.48ms
77+
99% 405.50ms
78+
93875 requests in 30.05s, 68.19MB read
79+
Requests/sec: 3124.36
80+
Transfer/sec: 2.27MB
81+
$ screenfetch
82+
./+o+- root@DESKTOP-89TMCM6
83+
yyyyy- -yyyyyy+ OS: Ubuntu 20.04 focal(on the Windows Subsystem for Linux)
84+
://+//////-yyyyyyo Kernel: x86_64 Linux 4.19.104-microsoft-standard
85+
.++ .:/++++++/-.+sss/` Uptime: 2h 52m
86+
.:++o: /++++++++/:--:/- Packages: 745
87+
o:+o+:++.`..```.-/oo+++++/ Shell: zsh 5.8
88+
.:+o:+o/. `+sssoo+/ Disk: 486G / 882G (56%)
89+
.++/+:+oo+o:` /sssooo. CPU: Intel Core i7-10875H @ 16x 2.304GHz
90+
/+++//+:`oo+o /::--:. RAM: 2602MiB / 12708MiB
91+
\+/+o+++`o++o ++////.
92+
.++.o+++oo+:` /dddhhh.
93+
.+.o+oo:. `oddhhhh+
94+
\+.++o+o``-````.:ohdhhhhh+
95+
`:o+++ `ohhhhhhhhyo++os:
96+
.o:`.syhhhhhhh/.oo++o`
97+
/osyyyyyyo++ooo+++/
98+
````` +oo+++o\:
99+
`oo++.
67100
```
68-
69-
![alt](./img/wrk.png)
70-
![alt](./img/screenfetch.png)

0 commit comments

Comments
 (0)