Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,13 @@ jobs:
name: Release Go Binary
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
goos: [linux, darwin]
goarch: [amd64, arm64]
steps:
- uses: actions/checkout@v3
- uses: wangyoucao577/go-release-action@v1.28
- uses: wangyoucao577/go-release-action@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
goos: ${{ matrix.goos }}
Expand All @@ -24,3 +25,5 @@ jobs:
sha256sum: true
asset_name: pubsub-sub-bench-${{ matrix.goos }}-${{ matrix.goarch }}
build_command: "make build"
retry: 5
overwrite: true
22 changes: 11 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

[![license](https://img.shields.io/github/license/filipecosta90/pubsub-sub-bench.svg)](https://github.com/filipecosta90/pubsub-sub-bench)
[![GitHub issues](https://img.shields.io/github/release/filipecosta90/pubsub-sub-bench.svg)](https://github.com/filipecosta90/pubsub-sub-bench/releases/latest)
[![codecov](https://codecov.io/github/filipecosta90/pubsub-sub-bench/branch/main/graph/badge.svg?token=B6ISQSDK3Y)](https://codecov.io/github/filipecosta90/pubsub-sub-bench)
[![license](https://img.shields.io/github/license/redis-performance/pubsub-sub-bench.svg)](https://github.com/redis-performance/pubsub-sub-bench)
[![GitHub issues](https://img.shields.io/github/release/redis-performance/pubsub-sub-bench.svg)](https://github.com/redis-performance/pubsub-sub-bench/releases/latest)
[![codecov](https://codecov.io/github/redis-performance/pubsub-sub-bench/branch/main/graph/badge.svg?token=B6ISQSDK3Y)](https://codecov.io/github/redis-performance/pubsub-sub-bench)


## Overview
Expand All @@ -21,19 +21,19 @@ Several aspects can dictate the overall system performance, like the:

If you don't have go on your machine and just want to use the produced binaries you can download the following prebuilt bins:

https://github.com/filipecosta90/pubsub-sub-bench/releases/latest
https://github.com/redis-performance/pubsub-sub-bench/releases/latest

| OS | Arch | Link |
| :--- | :---: | ---: |
| Linux | amd64 (64-bit X86) | [pubsub-sub-bench-linux-amd64](https://github.com/filipecosta90/pubsub-sub-bench/releases/latest/download/pubsub-sub-bench-linux-amd64.tar.gz) |
| Linux | arm64 (64-bit ARM) | [pubsub-sub-bench-linux-arm64](https://github.com/filipecosta90/pubsub-sub-bench/releases/latest/download/pubsub-sub-bench-linux-arm64.tar.gz) |
| Darwin | amd64 (64-bit X86) | [pubsub-sub-bench-darwin-amd64](https://github.com/filipecosta90/pubsub-sub-bench/releases/latest/download/pubsub-sub-bench-darwin-amd64.tar.gz) |
| Darwin | arm64 (64-bit ARM) | [pubsub-sub-bench-darwin-arm64](https://github.com/filipecosta90/pubsub-sub-bench/releases/latest/download/pubsub-sub-bench-darwin-arm64.tar.gz) |
| Linux | amd64 (64-bit X86) | [pubsub-sub-bench-linux-amd64](https://github.com/redis-performance/pubsub-sub-bench/releases/latest/download/pubsub-sub-bench-linux-amd64.tar.gz) |
| Linux | arm64 (64-bit ARM) | [pubsub-sub-bench-linux-arm64](https://github.com/redis-performance/pubsub-sub-bench/releases/latest/download/pubsub-sub-bench-linux-arm64.tar.gz) |
| Darwin | amd64 (64-bit X86) | [pubsub-sub-bench-darwin-amd64](https://github.com/redis-performance/pubsub-sub-bench/releases/latest/download/pubsub-sub-bench-darwin-amd64.tar.gz) |
| Darwin | arm64 (64-bit ARM) | [pubsub-sub-bench-darwin-arm64](https://github.com/redis-performance/pubsub-sub-bench/releases/latest/download/pubsub-sub-bench-darwin-arm64.tar.gz) |

Here's how bash script to download and try it:

```bash
wget -c https://github.com/filipecosta90/pubsub-sub-bench/releases/latest/download/pubsub-sub-bench-$(uname -mrs | awk '{ print tolower($1) }')-$(dpkg --print-architecture).tar.gz -O - | tar -xz
wget -c https://github.com/redis-performance/pubsub-sub-bench/releases/latest/download/pubsub-sub-bench-$(uname -mrs | awk '{ print tolower($1) }')-$(dpkg --print-architecture).tar.gz -O - | tar -xz

# give it a try
./pubsub-sub-bench --help
Expand All @@ -47,8 +47,8 @@ To install the benchmark utility with a Go Env do as follow:
`go get` and then `go install`:
```bash
# Fetch this repo
go get github.com/filipecosta90/pubsub-sub-bench
cd $GOPATH/src/github.com/filipecosta90/pubsub-sub-bench
go get github.com/redis-performance/pubsub-sub-bench
cd $GOPATH/src/github.com/redis-performance/pubsub-sub-bench
make
```

Expand Down