|
2 | 2 |
|
3 | 3 | ## Overview
|
4 | 4 |
|
5 |
| -This repo contains code to mimic redis-benchmark capabilities in go solely for OSS redis cluster. |
| 5 | +This repo contains code to mimic redis-benchmark capabilities in go. |
6 | 6 |
|
7 | 7 |
|
8 |
| -## Standalone binaries ( no Golang needed ) |
| 8 | +## Getting Started |
| 9 | + |
| 10 | +### Download Standalone binaries ( no Golang needed ) |
9 | 11 |
|
10 | 12 | If you don't have go on your machine and just want to use the produced binaries you can download the following prebuilt bins:
|
11 | 13 |
|
12 |
| -| OS | Arch | Link | |
13 |
| -| :--- | :---: | ---: | |
14 |
| -| Windows | amd64 (64-bit X86) | [redis-benchmark-go_windows_amd64.exe](https://s3.amazonaws.com/benchmarks.redislabs/tools/redis-benchmark-go/redis-benchmark-go_windows_amd64.exe) | |
15 |
| -| Linux | amd64 (64-bit X86) | [redis-benchmark-go_linux_amd64](https://s3.amazonaws.com/benchmarks.redislabs/tools/redis-benchmark-go/redis-benchmark-go_linux_amd64) | |
16 |
| -| Linux | arm64 (64-bit ARM) | [redis-benchmark-go_linux_arm64](https://s3.amazonaws.com/benchmarks.redislabs/tools/redis-benchmark-go/redis-benchmark-go_linux_arm64) | |
17 |
| -| Linux | arm (32-bit ARM) | [redis-benchmark-go_linux_arm](https://s3.amazonaws.com/benchmarks.redislabs/tools/redis-benchmark-go/redis-benchmark-go_linux_arm) | |
18 |
| -| Darwin | amd64 (64-bit X86) | [redis-benchmark-go_darwin_amd64](https://s3.amazonaws.com/benchmarks.redislabs/tools/redis-benchmark-go/redis-benchmark-go_darwin_amd64) | |
19 |
| -| Darwin | arm64 (64-bit ARM) | [redis-benchmark-go_darwin_arm64](https://s3.amazonaws.com/benchmarks.redislabs/tools/redis-benchmark-go/redis-benchmark-go_darwin_arm64) | |
| 14 | +https://github.com/filipecosta90/redis-benchmark-go/releases/latest |
20 | 15 |
|
| 16 | +Here's how: |
21 | 17 |
|
| 18 | +**Linux** |
22 | 19 |
|
23 |
| -Here's an example on how to use the above links: |
24 |
| -```bash |
25 |
| -# Fetch this repo |
26 |
| -wget https://s3.amazonaws.com/benchmarks.redislabs/tools/redis-benchmark-go/redis-benchmark-go_linux_amd64 |
| 20 | +x86 |
| 21 | +``` |
| 22 | +wget -c https://github.com/filipecosta90/redis-benchmark-go/releases/latest/download/redis-benchmark-go-linux-amd64.tar.gz -O - | tar -xz |
| 23 | +
|
| 24 | +# give it a try |
| 25 | +./redis-benchmark-go --help |
| 26 | +``` |
| 27 | + |
| 28 | +arm64 |
| 29 | +``` |
| 30 | +wget -c https://github.com/filipecosta90/redis-benchmark-go/releases/latest/download/redis-benchmark-go-linux-arm64.tar.gz -O - | tar -xz |
| 31 | +
|
| 32 | +# give it a try |
| 33 | +./redis-benchmark-go --help |
| 34 | +``` |
27 | 35 |
|
28 |
| -# change permissions |
29 |
| -chmod 755 redis-benchmark-go_linux_amd64 |
| 36 | +**OSX** |
| 37 | + |
| 38 | +x86 |
| 39 | +``` |
| 40 | +wget -c https://github.com/filipecosta90/redis-benchmark-go/releases/latest/download/redis-benchmark-go-darwin-amd64.tar.gz -O - | tar -xz |
| 41 | +
|
| 42 | +# give it a try |
| 43 | +./redis-benchmark-go --help |
| 44 | +``` |
| 45 | + |
| 46 | +arm64 |
| 47 | +``` |
| 48 | +wget -c https://github.com/filipecosta90/redis-benchmark-go/releases/latest/download/redis-benchmark-go-darwin-arm64.tar.gz -O - | tar -xz |
| 49 | +
|
| 50 | +# give it a try |
| 51 | +./redis-benchmark-go --help |
| 52 | +``` |
| 53 | + |
| 54 | +**Windows** |
| 55 | +``` |
| 56 | +wget -c https://github.com/filipecosta90/redis-benchmark-go/releases/latest/download/redis-benchmark-go-windows-amd64.tar.gz -O - | tar -xz |
30 | 57 |
|
31 |
| -# give it a try |
32 |
| -./redis-benchmark-go_linux_amd64 --help |
| 58 | +# give it a try |
| 59 | +./redis-benchmark-go --help |
33 | 60 | ```
|
34 | 61 |
|
35 |
| -## Installation in a Golang env |
| 62 | +### Installation in a Golang env |
36 | 63 |
|
37 | 64 | The easiest way to get and install the benchmark utility with a Go Env is to use
|
38 | 65 | `go get` and then `go install`:
|
|
0 commit comments