Skip to content

Commit

Permalink
Add benchmark workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
GGP1 committed Jul 18, 2024
1 parent 06f27f1 commit dd3c24e
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/benchmark.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Benchmark

on:
push:
branches:
- master
pull_request:

jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 1.22

- name: Run benchmarks
run: go test -benchmem -bench .

0 comments on commit dd3c24e

Please sign in to comment.