Skip to content

use sync.Pool in UDPDialer #1687

use sync.Pool in UDPDialer

use sync.Pool in UDPDialer #1687

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