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:
Bo-Yi Wu 2017-04-24 16:47:40 +08:00 committed by GitHub
parent a62bbbf81a
commit 8ec1271d6c
3 changed files with 8 additions and 2 deletions

View File

@ -123,9 +123,15 @@ stat:
## 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

BIN
screenshot/memory.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 77 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 130 KiB