updated gosdk #555
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |