Skip to content

ExprNative interface - Allow easier use of custom types that can be represented by go builtin types #142

ExprNative interface - Allow easier use of custom types that can be represented by go builtin types

ExprNative interface - Allow easier use of custom types that can be represented by go builtin types #142

Workflow file for this run

name: diff
on:
pull_request:
branches: [ master ]
jobs:
bench:
runs-on: ubuntu-latest
steps:
- name: Setup Go 1.18
uses: actions/setup-go@v4
with:
go-version: 1.18
- name: Install benchstat
run: go install golang.org/x/perf/cmd/benchstat@latest
- uses: actions/checkout@v3
- name: Benchmark new code
run: go test -bench=. -benchmem -run=^$ -count=10 -timeout=30m | tee /tmp/new.txt
- name: Checkout master
uses: actions/checkout@v3
with:
ref: master
- name: Benchmark master
run: go test -bench=. -benchmem -run=^$ -count=10 -timeout=30m | tee /tmp/old.txt
- name: Diff
run: benchstat /tmp/old.txt /tmp/new.txt