File: benchmark.yml

package info (click to toggle)
golang-github-segmentio-asm 1.2.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 932 kB
  • sloc: asm: 6,093; makefile: 32
file content (22 lines) | stat: -rw-r--r-- 363 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
name: Go

on:
  push:
    branches:
      - 'main'

jobs:
  benchmark:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v2

    - name: Setup Go
      uses: actions/setup-go@v2
      with:
        go-version: 1.18.x

    - name: Run benchmarks
      run: |
        go install golang.org/x/perf/cmd/benchstat@latest
        make benchcmp count=1