feat: [ci skip] add benchmark command. (#216)
* feat: [ci skip] add benchmark command. * fix Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
parent
a62bbbf81a
commit
8ec1271d6c
10
README.md
10
README.md
|
@ -123,9 +123,15 @@ stat:
|
||||||
|
|
||||||
## Memory Usage
|
## Memory Usage
|
||||||
|
|
||||||
Memory average usage: **10Mb**
|
Memory average usage: **28Mb** (the total bytes of memory obtained from the OS.)
|
||||||
|
|
||||||
![memory usage](screenshot/memory_usage.png)
|
![memory usage](screenshot/memory.png)
|
||||||
|
|
||||||
|
Test Command:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
$ for i in {1..9999999}; do bat -b.N=1000 -b.C=100 POST localhost:8088/api/push notifications:=@notification.json; sleep 1; done
|
||||||
|
```
|
||||||
|
|
||||||
## Basic Usage
|
## Basic Usage
|
||||||
|
|
||||||
|
|
Binary file not shown.
After Width: | Height: | Size: 77 KiB |
Binary file not shown.
Before Width: | Height: | Size: 130 KiB |
Loading…
Reference in New Issue