Files
MetaCrate/.gitea/workflows/performance.yml
Chili Palmer 738fe3933e
Some checks failed
API and SemVer surface / api-surface (push) Failing after 1m8s
Native code generation / deterministic (push) Failing after 2m6s
Concurrency and resource soak audit / soak (push) Failing after 12m13s
Documentation / documentation (push) Failing after 1m36s
Imaging and meshing gate / native (push) Failing after 3m2s
JPEG 2000 feature / linux (push) Successful in 2m48s
performance evidence / audit (push) Failing after 13m49s
Release platform and feature matrix / audit (push) Successful in 44s
Native Rust workspace compile / compile (push) Failing after 55s
Skia feature / linux (push) Successful in 31m13s
Dependency and supply-chain audit / audit (push) Failing after 9m13s
Release platform and feature matrix / matrix (false, linux-stable-minimal, x86_64-unknown-linux-gnu, stable) (push) Failing after 9m49s
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
Release platform and feature matrix / matrix (false, macos-stable-portable, x86_64-apple-darwin, stable) (push) Has been cancelled
Benchmark Rust against pinned C# reference (#105)
2026-08-12 03:26:56 +00:00

54 lines
1.8 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
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