Skip to content

Add a paragraph about cache line size #20

Add a paragraph about cache line size

Add a paragraph about cache line size #20

Workflow file for this run

name: CI
on:
pull_request:
push:
branches:
- main
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- name: rustfmt
run: cargo fmt -- --config "unstable_features=true,imports_granularity=Crate,group_imports=StdExternalCrate,format_code_in_doc_comments=true"
- name: clippy
run: cargo clippy --all-targets -- -D warnings
- name: test
run: cargo test
miri:
needs: check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- name: install miri
run: rustup install nightly && rustup +nightly component add miri
- name: miri
run: cargo +nightly miri test
env:
MIRIFLAGS: "-Zmiri-many-seeds=0..256"
loom:
needs: check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- name: loom
run: cargo test --release --lib
env:
RUSTFLAGS: "--cfg loom"
LOOM_MAX_PREEMPTIONS: "3"
benchmark:
needs: check
strategy:
matrix:
os: [ubuntu-24.04, ubuntu-24.04-arm]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v5
- name: benchmark
run: cargo bench --bench comparison -- --min-time 1