Some checks failed
API and SemVer surface / api-surface (push) Has been cancelled
Native release artifact audit / audit (push) Has been cancelled
Native code generation / deterministic (push) Has been cancelled
Concurrency and resource soak audit / soak (push) Has been cancelled
Documentation / documentation (push) Has been cancelled
performance evidence / audit (push) Has been cancelled
First release candidate / non-fuzz-release-gate (push) Has been cancelled
Release platform and feature matrix / audit (push) Has been cancelled
Release platform and feature matrix / matrix (false, linux-stable-minimal, x86_64-unknown-linux-gnu, stable) (push) Has been cancelled
Release platform and feature matrix / matrix (false, macos-stable-portable, x86_64-apple-darwin, stable) (push) Has been cancelled
Release platform and feature matrix / matrix (false, windows-stable-portable, x86_64-pc-windows-gnu, stable) (push) Has been cancelled
Release platform and feature matrix / matrix (true, linux-msrv-portable, x86_64-unknown-linux-gnu, 1.96.0) (push) Has been cancelled
Release platform and feature matrix / matrix (true, linux-stable-default, x86_64-unknown-linux-gnu, stable) (push) Has been cancelled
Release platform and feature matrix / matrix (true, linux-stable-features, x86_64-unknown-linux-gnu, stable) (push) Has been cancelled
Release platform and feature matrix / matrix (true, linux-stable-release-surface, x86_64-unknown-linux-gnu, stable) (push) Has been cancelled
Dependency and supply-chain audit / audit (push) Has been cancelled
56 lines
1.9 KiB
YAML
56 lines
1.9 KiB
YAML
name: performance evidence
|
|
|
|
on:
|
|
push:
|
|
paths:
|
|
- "benchmarks/**"
|
|
- "tools/performance/**"
|
|
- "crates/libremetaverse/src/inventory.rs"
|
|
- "crates/libremetaverse/src/targa.rs"
|
|
- ".gitea/workflows/performance.yml"
|
|
- "Cargo.toml"
|
|
- "Cargo.lock"
|
|
pull_request:
|
|
paths:
|
|
- "benchmarks/**"
|
|
- "tools/performance/**"
|
|
- "crates/libremetaverse/src/inventory.rs"
|
|
- "crates/libremetaverse/src/targa.rs"
|
|
- ".gitea/workflows/performance.yml"
|
|
- "Cargo.toml"
|
|
- "Cargo.lock"
|
|
|
|
jobs:
|
|
audit:
|
|
runs-on: ubuntu-latest
|
|
env:
|
|
CARGO_PROFILE_BENCHMARK_OPT_LEVEL: 0
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: dtolnay/rust-toolchain@stable
|
|
with:
|
|
toolchain: 1.97.1
|
|
components: rustfmt, clippy
|
|
- uses: actions/setup-dotnet@v4
|
|
with:
|
|
dotnet-version: |
|
|
8.0.x
|
|
10.0.x
|
|
- name: Check out pinned C# reference
|
|
run: |
|
|
git clone --filter=blob:none https://github.com/cinderblocks/libremetaverse.git "$RUNNER_TEMP/libremetaverse"
|
|
git -C "$RUNNER_TEMP/libremetaverse" checkout 2aa70bb68513b39795da5d13c88f31b86e85a3ba
|
|
- name: Compile separate C# reference runner
|
|
run: >-
|
|
dotnet build benchmarks/csharp-reference/MetaCrate.ReferenceBenchmarks.csproj
|
|
-c Release -p:ReferenceRoot="$RUNNER_TEMP/libremetaverse"
|
|
- name: Verify harness
|
|
run: cargo test -p metacrate-performance --profile benchmark --locked -j1
|
|
- name: Audit committed evidence
|
|
run: >-
|
|
cargo run -p metacrate-performance --profile benchmark --locked -j1 --
|
|
audit --fixture-root benchmarks/fixtures
|
|
--rust benchmarks/results/rust-linux-x86_64.json
|
|
--reference benchmarks/results/csharp-linux-x86_64.json
|
|
--comparison benchmarks/results/comparison.json
|