Skip to content

add fastdns resolver benchmark #1701

add fastdns resolver benchmark

add fastdns resolver benchmark #1701

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.22.1'
- 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=.