Update wazero to prerelease with race fix (#127) #102
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Benchmark | |
on: | |
push: | |
branches: | |
- main | |
paths-ignore: | |
- '**/*.md' | |
- '**/*.txt' | |
- '**/*.yaml' | |
workflow_dispatch: | |
jobs: | |
bench: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4 | |
- uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5 | |
with: | |
go-version-file: go.work | |
- name: setup re2 for cgo | |
run: sudo apt-get update && sudo apt-get install -y libre2-dev | |
- run: go run mage benchall | |
- run: go run mage wafbenchall | |
- uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v3 | |
with: | |
name: results | |
path: build/*bench*.txt |