Skip to content

Feature/add bsbm business intelligence #31

Feature/add bsbm business intelligence

Feature/add bsbm business intelligence #31

Workflow file for this run

name: Run Continuous Benchmarks
on:
pull_request:
branches:
- main
push:
branches:
- main
# `workflow_dispatch` allows CodSpeed to trigger backtest
# performance analysis in order to generate initial data.
workflow_dispatch:
jobs:
benchmarks:
name: Run Benchmarks
runs-on: ubuntu-latest
steps:
- name: Setup rust toolchain
uses: moonrepo/setup-rust@v1
with:
channel: 1.87
cache-target: release
- name: Install just
uses: extractions/setup-just@v3
- name: Checkout code
uses: actions/checkout@v4
with:
submodules: true
- name: Run CI Setup
run: just configure-toolchain-ci
- name: Install Java
run: |
sudo apt-get update
sudo apt-get install -y default-jre
- name: Prepare BSBM Benchmark
working-directory: bench
run: |
cargo run --bin rdf-fusion-bench --profile codspeed -- prepare bsbm-explore --dataset-size 1000
cargo run --bin rdf-fusion-bench --profile codspeed -- prepare bsbm-business-intelligence --dataset-size 1000
- name: Build the benchmark target(s)
# Limiting the number of jobs is an attempt to not violate GitHub's runner resources.
run: cargo codspeed build --profile codspeed -j4
- name: Run benchmarks
uses: CodSpeedHQ/action@v3
with:
token: ${{ secrets.CODSPEED_TOKEN }}
run: cargo codspeed run