Skip to content

Merge pull request #1447 from 0chain/hotfix/postgres-shm #564

Merge pull request #1447 from 0chain/hotfix/postgres-shm

Merge pull request #1447 from 0chain/hotfix/postgres-shm #564

Workflow file for this run

name: Benchmark
concurrency:
group: "benchmark-${{ github.ref }}"
cancel-in-progress: true
on:
push:
branches: [ master, staging ]
jobs:
benchmark:
runs-on: [self-hosted, conductor-test]
steps:
- name: Setup go
uses: actions/setup-go@v3
with:
go-version: ^1.20 # The Go version to download (if necessary) and use.
- name: Clone blobber
uses: actions/checkout@v2
- name: Run benchmark
run: CGO_ENABLED=1 go test -tags bn256 -benchmem -run="BenchmarkUploadFile*" -bench="BenchmarkUploadFile*" ./... | tee benchmark.txt