Skip to content

Commit

Permalink
README
Browse files Browse the repository at this point in the history
  • Loading branch information
jiang.pan committed Jun 11, 2021
1 parent 13a8826 commit 98ed4dd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,21 +36,21 @@ Usage of redisbench:
## Example

```
go run main.go -a localhost:6379 -c 10 -n 5000 -d 1000
./redisbench -a localhost:6379 -c 10 -n 5000 -d 1000
```

![](doc/one.png)

### Use multiple testing nodes

```sh
go run main.go -a localhost:6379 -c 10 -n 2000 -d 1000 -ma localhost:9001,localhost:9002 -mo 1
./redisbench -a localhost:6379 -c 10 -n 2000 -d 1000 -ma localhost:9001,localhost:9002 -mo 1
```

![](doc/mo1.png)

```sh
go run main.go -a localhost:6379 -c 10 -n 2000 -d 1000 -ma localhost:9001,localhost:9002 -mo 2
./redisbench -a localhost:6379 -c 10 -n 2000 -d 1000 -ma localhost:9001,localhost:9002 -mo 2
```

![](doc/mo2.png)

0 comments on commit 98ed4dd

Please sign in to comment.