Skip to content

benchmark

benchmark #1190

Workflow file for this run

name: benchmark
on:
schedule:
- cron: '0 0 * * *'
push:
branches:
- master
jobs:
benchmark:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v2
with:
go-version: '1.18.4'
- name: Benchmark
run: |
set -ex
git clone --depth=1 https://github.com/${GITHUB_REPOSITORY}
cd $(basename ${GITHUB_REPOSITORY})
go test -v -run=none -benchmem -bench=.