Skip to content

Generate whisker plot via CI #21

Generate whisker plot via CI

Generate whisker plot via CI #21

Workflow file for this run

name: Benchmark
on:
push:
branches:
- master
pull_request:
workflow_dispatch:
schedule:
- cron: "0 0 * * 0"
jobs:
bench:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install cargo-binstall
uses: cargo-bins/cargo-binstall@main
- name: Install Hyperfine
run: cargo binstall -y hyperfine
- name: Install Zig
uses: goto-bus-stop/setup-zig@v2
- name: Run benchmarks
shell: bash
run: ./bench.sh
- name: Generate plot
shell: bash
run: |
wget https://raw.githubusercontent.com/sharkdp/hyperfine/master/scripts/plot_whisker.py
python plot_whisker.py benchmarks.json -o plot_whisker.png