Skip to content

Add some benchmarking code with Stan and Nimble #122

Add some benchmarking code with Stan and Nimble

Add some benchmarking code with Stan and Nimble #122

Workflow file for this run

name: Benchmark
on:
pull_request:
branches:
- master
jobs:
run-benchmark:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
submodules: recursive
- name: Set up Julia
uses: julia-actions/setup-julia@v2
with:
version: '1'
- name: Run benchmarks
run: |
julia --project=benchmark -e 'using Pkg; Pkg.instantiate()'
julia --project=benchmark benchmark/run_benchmarks.jl > benchmark_results.txt
- name: Upload benchmark results
uses: actions/upload-artifact@v4
with:
name: benchmark-results
path: benchmark_results.txt
- name: Post results to PR
uses: marocchino/sticky-pull-request-comment@v2
with:
path: benchmark_results.txt