Skip to content

Update to latest upstream (#166) #111

Update to latest upstream (#166)

Update to latest upstream (#166) #111

Workflow file for this run

name: Benchmark
on:
push:
branches:
- main
paths-ignore:
- "**/*.md"
- "**/*.txt"
- "**/*.yaml"
workflow_dispatch:
jobs:
bench:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5
with:
go-version-file: go.work
cache-dependency-path: |
**/go.sum
build/versions.go
- name: setup re2 for cgo
run: sudo apt-get update && sudo apt-get install -y libre2-dev
- run: go run ./build bench-all
- run: go run ./build wafbench-all
- uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v3
with:
name: results
path: build/*bench*.txt