2
0
Fork 0
mirror of https://github.com/ii64/sonic.git synced 2026-06-21 00:46:43 +08:00
sonic/.github/workflows/benchmark.yml
Yi Duan f9d033d6f8
feat: support streaming IO (#225)
* feat (decoder): support streaming IO

* opt: fine tune buffer size factors

* feat (encoder): support streaming IO

* doc: refactor format and add comments

* fix: io.EOF dead loop

* build: adjust CI files

* doc: update README.md
2022-05-24 10:38:43 +08:00

27 lines
571 B
YAML

name: Pull Request Benchmark
on: pull_request
jobs:
build:
runs-on: self-hosted
steps:
- uses: actions/checkout@v2
- name: Check Branch
run: ./check_branch_name.sh ${{ github.head_ref }}
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.17.1
- uses: actions/cache@v2
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Benchmark
run: sh bench.sh