Skip to content

Remove IMDG documentation references (#994) #1959

Remove IMDG documentation references (#994)

Remove IMDG documentation references (#994) #1959

name: "Benchmark Go Client"
on: ["push", "pull_request"]
jobs:
benchmark:
runs-on: "ubuntu-latest"
env:
GOPATH: "${{ github.workspace }}"
HZ_VERSION: "5.3.6"
strategy:
matrix:
os: [ ubuntu-latest ]
go_version: [ "1.20" ]
fail-fast: false
defaults:
run:
shell: "bash"
working-directory: "$HOME/hazelcast-go-client"
steps:
- name: "Checkout Code"
uses: "actions/checkout@v2"
with:
path: "$HOME/hazelcast-go-client"
- name: "Setup Go"
uses: "actions/setup-go@v2"
with:
go-version: "${{ matrix.go_version }}"
- name: "Setup JRE"
uses: "actions/setup-java@v2"
with:
distribution: "zulu"
java-version: "8"
- name: "Download RCD (Linux/MacOS)"
if: "!contains(matrix.os, 'windows')"
run: |
wget https://rcd-download.s3.us-east-2.amazonaws.com/rcd-${{ matrix.os }}
- name: "Start Hazelcast Remote Controller (Linux/MacOS)"
if: "!contains(matrix.os, 'windows')"
run: |
chmod +x rcd-${{ matrix.os }}
./rcd-${{ matrix.os }} -version $HZ_VERSION -dir $HOME &
sleep 10
- name: "Run Benchmarks, Single Member"
run: |
go mod tidy
MEMBER_COUNT=1 WARMUPS=3 make benchmark
- name: "Run Benchmarks, Three Members"
run: |
go mod tidy
MEMBER_COUNT=3 WARMUPS=3 make benchmark